Cobbler安装VMware ESXi6.0


Cobbler安装VMware ESXi6.0



[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 5+
#
 
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


按F2








































免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM