DescriptionGet the address correctly from the container.
This is kind of messy, but it does work.
This uses an extra environment variable from the upstart
script to identify the type of container. MAAS then uses
this when trying to work out the hostname of the machine.
We do need a nicer way to get this done. We also want to
move the environment variables from the upstart script
into the agent config, but this will be a follow up branch.
https://code.launchpad.net/~thumper/juju-core/container-address/+merge/182271
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 5
|