Cobbler安装VMware ESXi6.0
ks文件:
[root@sky ~]# cd /var/lib/cobbler/kickstarts/
[root@sky kickstarts]# cp sample_esxi5.ks sample_esxi5.ks.bak
[root@sky kickstarts]# vim sample_esxi5.ks
#
# Sample scripted installation file
# for ESXi 6+
#
vmaccepteula
reboot --noeject
rootpw --iscrypted $default_password_crypted
install --firstdisk --overwritevmfs
clearpart --firstdisk --overwritevmfs
#$SNIPPET('network_config') <==注释掉
network --bootproto=dhcp <==添加此行
%pre --interpreter=busybox
$SNIPPET('kickstart_start')
$SNIPPET('pre_install_network_config')
%post --interpreter=busybox
r=busybox <==添加此行
$SNIPPET('kickstart_done')
[root@sky kickstarts]# cobbler sync
来源:oschina
链接:https://my.oschina.net/u/4334316/blog/4454554