Is there a way to get metadata (i.e. VM Name, Annotations, etc.) from within the Guest OS? I'm using a Ubuntu JeOS template and want to run a script on startup which configures new VMs according to the metadata. This is on VMWare ESX.
Getting metadata from within VMWare Guest OS
vmware-esxvmware-tools
Best Answer
I imagine you could use the vSphere SDK for Perl inside your VM to query those items:
http://www.vmware.com/support/developer/viperltoolkit/
You could ask here: