Unit-get private-address

Sameer Zeidat sameerz at yahoo.com
Tue May 27 05:06:36 UTC 2014


Hello,

I've created a couple of charms that I deploy to both MAAS and hpcloud environments.

I added a second network interface, eth1, to some of my MAAS nodes and now unit-get private-address returns the ip of eth1 instead of eth0 on these nodes. How do I work around this without changing my charms? 

Does Juju use the new networks settings in MAAS? That would be ideal, i.e. I define what is private and public in MAAS networks and juju's unit-get matches it when looking for an ip.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140527/369e587d/attachment.html>


More information about the Juju mailing list