Skip to content

Instantly share code, notes, and snippets.

@ToroNZ
Created January 26, 2022 09:24
Show Gist options
  • Save ToroNZ/4f5b29dc55dcef16df0ea0c82431df88 to your computer and use it in GitHub Desktop.
Save ToroNZ/4f5b29dc55dcef16df0ea0c82431df88 to your computer and use it in GitHub Desktop.
vmaccepteula
install --firstdisk --overwritevmfs --novmfsondisk
network --bootproto=dhcp
rootpw Password123!!
keyboard English
reboot
%firstboot --interpreter=busybox
# Enable SSH
vim-cmd hostsvc/enable_ssh
vim-cmd hostsvc/start_ssh
# Enable ESXi Shell
vim-cmd hostsvc/enable_esx_shell
vim-cmd hostsvc/start_esx_shell
# Suppress Shell warning
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1
# NTP
esxcli system ntp set -s nz.pool.ntp.org
esxcli system ntp set -e 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment