Comment 10 for bug 1721368

Revision history for this message
James Page (james-page) wrote : Re: Sets my_ip to hostname, not IP address

Hmm OK so it would appear that the Juju >= 2.0 network space support can actually return a hostname instead of an IP address for:

  network-get --primary-address cloud-compute

which is somewhat unhelpful. The unit_get('private-address') fallback won't be used in this deployment.