Show private IP when deploying in EC2

Hi!

I configured ec2 driver to my existing AWS account. I have VPN and VPC up and running there and would like to deploy VM on EC2 but in private space with private IP only.
Nebula does it but it does not show the elected by AWS private IP. I guess the field takes public IP from AWS (it worked with public IP). How to switch to private IP?

Regrads
KaZ

Hi,

If you are running OpenNebula 4.12, you can retrieve that value from the network tab of the resource information, if not you can retrieve it from the template tab. If you want to show that value in the list of VMs you have to modify the following code and include AWS_PRIVATE_ADDRESS in the externalIPsAttrs array

https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/sunstone.js#L8303

Cheers

Worked perfectly!