ESXi

 View Only
  • 1.  How to create VM using kick start file.

    Posted May 15, 2012 05:01 AM

    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



  • 2.  RE: How to create VM using kick start file.

    Posted May 15, 2012 07:11 AM

    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.



  • 3.  RE: How to create VM using kick start file.

    Posted May 15, 2012 07:52 AM

    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