Skip to content

Instantly share code, notes, and snippets.

@virtualex-itv
Created July 10, 2019 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save virtualex-itv/274bf1db8e71d62efce7a320bbcb5cb3 to your computer and use it in GitHub Desktop.
Save virtualex-itv/274bf1db8e71d62efce7a320bbcb5cb3 to your computer and use it in GitHub Desktop.
Automated ESXi Installation to USB using Kickstart
# 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