Created
July 10, 2019 21:57
-
-
Save virtualex-itv/274bf1db8e71d62efce7a320bbcb5cb3 to your computer and use it in GitHub Desktop.
Automated ESXi Installation to USB using Kickstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All credit goes to William Lam (@lamw) | |
# https://www.virtuallyghetto.com/2019/07/automated-esxi-installation-to-usb-using-kickstart.html | |
vmaccepteula | |
install --firstdisk=usb --overwritevmfs --novmfsondisk | |
reboot | |
network --bootproto=static --ip=192.168.30.13 --netmask=255.255.255.0 --gateway=192.168.30.1 --hostname=hades-canyon.primp-industries.com --nameserver=192.168.30.1 --addvmportgroup=1 | |
rootpw VMware1! | |
%firstboot --interpreter=busybox | |
# enable & start SSH | |
vim-cmd hostsvc/enable_ssh | |
vim-cmd hostsvc/start_ssh | |
# enable & start ESXi Shell | |
vim-cmd hostsvc/enable_esx_shell | |
vim-cmd hostsvc/start_esx_shell | |
# Suppress ESXi Shell warning | |
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment