I have successfully setup PXE installation for VMware vSphere Hypervisor.
The pxelinux config file has something like this:
label VMware vSphere Hypervisor
menu label VMware vSphere Hypervisor 4.1.0.update1-348481.x86_64
kernel esxi/mboot.c32
append esxi/vmkboot.gz ks=nfs://192.168.0.1/var/lib/tftpboot/kickstart/esxi41.cfg --- esxi/vmkernel.gz --- esxi/sys.vgz --- esxi/cim.vgz --- esxi/ienviron.vgz --- esxi/install.vgz
file /var/lib/tftpboot/kickstart/esxi41.cfg:
vmaccepteula
rootpw password
autopart --firstdisk --overwritevmfs
network --bootproto=dhcp
install nfs --server=192.168.0.1 --dir=/var/lib/tftpboot/esxi
I boot my machine with the PXE setting and the installation go smoothly without any pause in between. My hard drive will be overwritten.
This is not safe if I select the PXE option. Is there any way to pause or give user warning while perform ESXi installation via PXE?