ESX 5 FS Persistency

Most of ESX 5 files reside in a in-memory filesystem. This means faster access and also non persistency across reboots, which can be inconvenient at the time of managing a ESX farm for a OpenNebula cloud. Here is a recipe to make the configuration needed for OpenNebula persistent across reboots. The changes need to be done as root. # vi /etc/rc.local ## Add this at the bottom of the file mkdir /etc/ssh/keys-oneadmin cat > /etc/ssh/ssh-oneadmin/authorized_keys << ___SSH_HEYS___ ssh-rsa ___SSH_KEYS___ chmod 600 /etc/ssh/keys-oneadmin/authorized_keys chmod +s /sbin/vmkfstools /bin/vim-cmd chmod 755 /etc/ssh/keys-oneadmin chown oneadmin /etc/ssh/keys-oneadmin/authorized_keys # /sbin/auto-backup.sh This information was based on this [[http://www.virtuallyghetto.com/2011/08/how-to-persist-configuration-changes-in.html|blog post]].