[one-ecosystem] Read VM ID from inside a running VM

Rodrigue Chakode Rodrigue.Chakode at imag.fr
Tue Feb 28 03:38:18 PST 2012


Hi

> Is there a way to query this VM ID from inside the VM? Or can I configure
> OpenNebula to automatically store the VM ID in, for example, a text file
> inside a VM when it creates the VM? It would also help if the application
> could query an IP-to-VM ID mapping from OpenNebula, if such a mapping
> exists for VMs that are created with bridged DHCP network access.
>

This goal can be easily achieved through contextualisation data (
http://opennebula.org/documentation:archives:rel2.2:cong), notably by using
the variables $VMID

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/ecosystem-opennebula.org/attachments/20120228/73b39f6f/attachment-0002.htm>


More information about the Ecosystem mailing list