每天充电半小时之Cobbler(15)

Build ISO

如果因为(A)缺少DHCP服务器配置的控制项(ie.next_server),或者(B)环境中只使用静态IP而不能支持PXE。

需要使用如下命令解决:

# cobbler buildiso

此命令的作用是将所有发行版内核/ initrds复制到启动CD镜像并生成ISO菜单,相当于通过Cobbler提供给网络客户机PXE菜单。

默认情况下,启动CD菜单将包括所有配置文件和系统,可以强制它显示与以下相关的配置文件/系统列表。

cobbler> = 2.2.0:

# cobbler buildiso --systems="system1 system2 system3"
# cobbler buildiso --profiles="profile1 profile2 profile3"

cobbler<2.2.0:

# cobbler buildiso --systems="system1,system2,system3"
# cobbler buildiso --profiles="profile1,profile2,profile3"

如果需要安装到没有对cobbler服务器的网络访问权限的实验环境,可以将完整的分发树以及配置文件和系统记录复制到磁盘镜像:

# cobbler buildiso --standalone --distro="distro1"

猜你喜欢

转载自blog.csdn.net/weixin_40042382/article/details/81710817