VMware Cloud Community
Zsoldier
Expert
Expert

ESXi 4.1 Kickstart Install Config Question

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
/sbin/reboot
Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos
0 Replies