0 Replies Latest reply on Nov 6, 2019 12:47 AM by abseml88

    Kickstart File Not Working

    abseml88 Lurker

      Hi. Can anybody explain what is wrong with this kickstart file?  6.7

       

      ESXi 6.7 U2 HPE Customized ( Nested ESXi)

       

       

      Section 2 Post Installation absolutely not working besides this one

      ### Set Search Domain

      esxcli network ip dns search add --domain=o365.az

       

       

      ### ESXi Installation Script

      ### Hostname: LAB-ESXi01A

      ### Author: M. Buijs

      ### Date: 2017-08-11

      ### Tested with: ESXi 6.0 and ESXi 6.5

       

      ##### Stage 01 - Pre installation:

       

          ### Accept the VMware End User License Agreement

          vmaccepteula

       

          ### Set the root password for the DCUI and Tech Support Mode

          rootpw VMware1!

       

          ### The install media (priority: local / remote / USB)

          install --firstdisk=local --overwritevmfs --novmfsondisk

       

          ### Set the network to DHCP on the first network adapter

          network --bootproto=static --device=vmnic0 --ip=172.18.18.235 --netmask=255.255.255.0 --gateway=172.18.18.254 --nameserver=192.168.126.21,192.168.151.254 --hostname=ESXv6.o365.az --addvmportgroup=0

       

          ### Reboot ESXi Host

          reboot --noeject

       

      ##### Stage 02 - Post installation:

       

          ### Open busybox and launch commands

          %firstboot --interpreter=busybox

       

         ### Set Search Domain

          esxcli network ip dns search add --domain=o365.az

       

          ### Add second NIC to vSwitch0

          esxcli network vswitch standard uplink add --uplink-name=vmnic1 --vswitch-name=vSwitch0

       

          ###  Disable IPv6 support (reboot is required)

          esxcli network ip set --ipv6-enabled=false

       

          ### Disable CEIP

          esxcli system settings advanced set -o /UserVars/HostClientCEIPOptIn -i 2

       

          ### Enable maintaince mode

          esxcli system maintenanceMode set -e true

       

          ### Reboot

          esxcli system shutdown reboot -d 15 -r "rebooting after ESXi host configuration"