Merge lp:~smoser/maas/trunk.enlist_minor into lp:~maas-committers/maas/trunk

Proposed by Scott Moser
Status: Merged
Approved by: Andres Rodriguez
Approved revision: no longer in the source branch.
Merged at revision: 1024
Proposed branch: lp:~smoser/maas/trunk.enlist_minor
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 16 lines (+4/-1)
1 file modified
contrib/preseeds_v2/enlist_userdata (+4/-1)
To merge this branch: bzr merge lp:~smoser/maas/trunk.enlist_minor
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+125199@code.launchpad.net

Commit message

make the "successful enlistment" message more clear

Description of the change

Simple change, make the "successful enlistment" message more clear

To post a comment you must log in.
Revision history for this message
Andres Rodriguez (andreserl) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'contrib/preseeds_v2/enlist_userdata'
--- contrib/preseeds_v2/enlist_userdata 2012-09-07 15:53:57 +0000
+++ contrib/preseeds_v2/enlist_userdata 2012-09-19 13:25:35 +0000
@@ -13,8 +13,11 @@
13 [ -n "${ip}" ] && host=$(dig +short -x $ip) && host=${host%.}13 [ -n "${ip}" ] && host=$(dig +short -x $ip) && host=${host%.}
14 maas-enlist --serverurl "$url" ${host:+--hostname "${host}"} >/tmp/enlist.out14 maas-enlist --serverurl "$url" ${host:+--hostname "${host}"} >/tmp/enlist.out
15 if [ $? -eq 0 ]; then15 if [ $? -eq 0 ]; then
16 msg="successfully enlisted to '$url'"
17 [ -n "$host" ] && msg="$msg with hostname '$host'" ||
18 msg="$msg without hostname"
16 echo19 echo
17 echo "=== $(date -R): successfully enlisted system to $host ==="20 echo "=== $(date -R): $msg"
18 cat /tmp/enlist.out21 cat /tmp/enlist.out
19 echo =============================================22 echo =============================================
20 sleep 1023 sleep 10