maas-enlist fails if $serverurl contains dashes
Bug #1387281 reported by
Tomohiro ishihara
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-enlist (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
line 184-187 in /etc/maas/
if echo "$serverurl" | egrep -q '(^[a-z]
api_url=
else
api_url=`echo $serverurl | sed 's#^\(\
fi
-----
DNS host name could contain '-'(hyphen), so you should use
[a-zA-Z0-9\.\-]
insted of
[a-zA-Z0-9\.]
To post a comment you must log in.
The attachment "maas_enlist. sh.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]