Reviewers: mp+182271_code.launchpad.net, Message: Please take a look. Description: Get 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) Please review this at https://codereview.appspot.com/13261044/ Affected files: A [revision details] M container/lxc/lxc.go M juju/osenv/vars.go M provider/local/export_test.go M provider/local/net.go M provider/maas/environprovider.go M utils/network.go M worker/deployer/simple.go Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: