ubuntu 自动安装

编程入门 行业动态 更新时间:2024-10-25 18:23:55

<a href=https://www.elefans.com/category/jswz/34/1771209.html style=ubuntu 自动安装"/>

ubuntu 自动安装

ubuntu安装程序介绍

debian-installer:Debian 系统的安装程序,使用preseed机制进行自动安装。

ubiquity:ubiquity是Ubuntu的live CD图形安装程序,主要使用Python编写,使用debian-installer(d-i)作为其许多功能的后端,同样使用preseed机制进行自动安装。
This is a simple live CD installer designed to integrate well with Debian- and Ubuntu-based systems, and to reuse code from d-i for ease of maintenance.

subiquity:新的Ubuntu Server安装程序,用来替代基于debian-installer(di)的经典服务器安装程序(ubiquity),Ubuntu Server 17.10中引入,在ubuntu server 20.04 LTS中彻底淘汰debian-installer,subiquity使用cloud-init进行自动安装。

使用preseed自动化安装

官方文档:
.04/installation-guide/amd64/apb.html
使用例子:
/

新建好preseed文件后,修改 isolinux.cfg和grub.cfg,在启动参数中添加preseed文件的路径/地址。

使用cloud-init自动化安装

官方文档:


使用例子:

/@tlhakhan/ubuntu-server-20-04-autoinstall-2e5f772b655a

从网络获取配置文件安装步骤:
1.创建user-data 和 meta-data
2.启动python3网络服务,包含第一步的2个文件

python3 -m http.server 3003

3. 修改isolinux.cfg和grub.cfg,在启动参数中添加文件url 路径.

linux   /casper/vmlinuz quiet autoinstall ds=nocloud-net\;s=http://<my-laptop-ip>:3003/ ---

用户配置文件集成在iso镜像中的例子:

 

 

更多推荐

ubuntu 自动安装

本文发布于:2024-02-14 02:38:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1761951.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:ubuntu

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!