# ks.cfg: scripted installation file for ESXi 6 IPXE installation # Antonio Jorba, 2016-09-04 - no warranty - use at your own risk # # # Accept the VMware End User License Agreement vmaccepteula # # Set the root password for the DCUI and ESXi Shell # Don't forget to change it immediately after installation! rootpw password # Install on the first local disk available on machine # No warranty, this can destroy important data on your first disk! clearpart --firstdisk --overwritevmfs install --firstdisk=local --overwritevmfs # # reboots the host after the scripted installation is completed reboot %firstboot --interpreter=busybox # Enable SSH and the ESXi Shell vim-cmd hostsvc/enable_ssh vim-cmd hostsvc/start_ssh vim-cmd hostsvc/enable_esx_shell vim-cmd hostsvc/start_esx_shell