Hi All,
I want to create new VM using KickStart file. I have CENTOS ISO and ks.cfg file. I placed kickstart file ks.cfg in ESXi host under the datastore1 (/vmfs/volumes/datastore1). Now how I can access this in while booting the ISO. I tried to provide the below option but it was not able to identify the ks.cfg file.
linux ks=hd:partition[datastore1]/ks.cfg
Thanks,
Kalai
GOS will never know the datastores present in the ESX. Also, the GOS will never know that it is a running as a VM. So it will NEVER EVER have access to the datastore, it will have only access to its vmdk and the ks file if exported. And of course, it is not recommended running ESXi as a PXE server.
http://drcs.ca/blog/how-to-create-a-centos-5-vmware-virtual-machine-using-pxeboot-and-kickstart/ is an excellent article for your need.
You would need to make the file available on the network, or on your boot media/iso as you would when building a physical machine.
Thanks