Skip to content

Instantly share code, notes, and snippets.



Last active Apr 27, 2019
What would you like to do?
# Accept VMware EULA
# Set the root password (default: VMware!)
rootpw --iscrypted $1$DK/hzmaO$ZFEGEeAv3rNc8gqvhY2it1
# Clear VMFS partitions (if exist) on the USB drive
clearpart --drives=/vmfs/devices/disks/mpx.vmhbaXX:C0:T0:L0
# Install ESXi on the USB drive
install --drive=/vmfs/devices/disks/mpx.vmhbaXX:C0:T0:L0
# Set the static network settings
network --bootproto=static --device=a0:b1:c2:d3:e4:f5 --ip= --gateway= --netmask= --nameserver= --hostname=esxi-host.domain.local --addvmportgroup=0
# Reboot host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.