Hey guys, just starting to play with Unattended install of ESXi 6.7 with ks.cfg and wondering if its possible for it to ask me one question. Which install disk to use?
Is this possible?
vmaccepteula
rootpw xxxxx!
install --disk=DELLBOSS
network --bootproto=dhcp
reboot --noeject
### Open busybox and launch commands
%firstboot --interpreter=busybox
### Disable IPv6 support (reboot is required)
esxcli network ip set --ipv6-enabled=false
### Add NTP Server addresses
echo "server ntp.mhhs.org" >> /etc/ntp.conf;
### Allow NTP through firewall
esxcfg-firewall -e ntpClient
### Enable NTP autostartup
/sbin/chkconfig ntpd on;
Hi wreedMH,
If you are trying to install esxi using the ks.cfg script then by default the script performs a standard installation to the first disk detected.
# Install on the first local disk available on machine
install --firstdisk --overwritevmfs
Regards,
Sudeshna Sarkar
Install-Upgrade Specialist
see
Installation and Upgrade Script Commands ...
--disk= or --drive=Specifies the disk to partition. In the command --disk=diskname
, the diskname
can be in any of the forms shown in the following examples:
--disk=/vmfs/devices/disks/mpx.vmhba1:C0:T0:L0
--disk=mpx.vmhba1:C0:T0:L0
--disk=vml.000000034211234
--disk=vmkLUN_UID
For accepted disk name formats, see Disk Device Names.