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 自动安装
发布评论