Suggestion: Modify the VM monitoring part of the code so that it queries the operating system for the IP address and returns it to OpenNebula. That way you can show the IP address of the VM in Sunstone even when it’s not delivered via the contextualization i.e. virtual DVD image.
Our VMs get their IP address via our DHCP pool and not from OpenNebula, and we managed to do this modification successfully.