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