0 Replies Latest reply on Jan 4, 2012 1:30 PM by Zsoldier

    ESXi 4.1 Kickstart Install Config Question

    Zsoldier Expert

      At the very end of my kickstart, I'm installing vib's from Dell and Emulex.  After installation, an additional advanced configuration is added.  I need to change this config to a value of 1 as the final step in my host deployment.  I've tried using rc.local, but that doesn't seem to work.  Any ideas would be appreciated.


      Here is a snippet:

      #Part of %firstboot --unsupported --interpreter=busybox


      #Changes CIMoemProviderEnabled to 1 after OMSA tools.

      /bin/cp /etc/rc.local /etc/rc.bak

      /bin/echo "/sbin/esxcfg-advcfg -s 1 /UserVars/CIMoemProviderEnabled" >> /etc/rc.local

      /bin/echo "/bin/cat /etc/rc.bak > /etc/rc.local" >> /etc/rc.local


      %firstboot --unsupported --interpreter=busybox --level=9999
      /bin/vim-cmd hostsvc/maintenance_mode_enter
      /bin/vim-cmd hostsvc/maintenance_mode_exit