-
Committer:
Adam Stokes
-
Author(s):
Michael McCracken
-
Date:
2016-05-18 23:25:41 UTC
-
Revision ID:
git-v1:5544680e535eaef804056e5570e0251078723b42
try to handle ports in maas IP better (#932)
I think the original code intended to use 5240 as the default port but
allow setting other ports.
As-is, if you need to set a different port to get to MAAS, juju will not
bootstrap because it always appends :5240.
This works in that case but still appends :5240 to the maas IP for juju
if you don't set it yourself. if you don't set it, maasclient will just
use its default.
Signed-off-by: Michael McCracken <mike.mccracken@canonical.com>