Code Review
/
joid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a72a524
)
correct the grep in deployment.yaml for MAAS IP.
65/14265/1
author
Narinder Gupta
<narinder.gupta@canonical.com>
Tue, 17 May 2016 20:04:52 +0000
(15:04 -0500)
committer
Narinder Gupta
<narinder.gupta@canonical.com>
Tue, 17 May 2016 20:05:56 +0000
(15:05 -0500)
Change-Id: Idb279cb3952ed0781cafdff14a961669ecbc65c8
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/02-maasdeploy.sh
patch
|
blob
|
history
diff --git
a/ci/02-maasdeploy.sh
b/ci/02-maasdeploy.sh
index
2035780
..
3a2f681
100755
(executable)
--- a/
ci/02-maasdeploy.sh
+++ b/
ci/02-maasdeploy.sh
@@
-160,7
+160,7
@@
sudo chown $USER:$USER environments.yaml
echo "... Deployment of maas finish ...."
-maas_ip=`grep " ip_address" deployment.yaml | cut -d
" " -f 10
`
+maas_ip=`grep " ip_address" deployment.yaml | cut -d
':' -f 2 | sed -e 's/ //'
`
apikey=`grep maas-oauth: environments.yaml | cut -d "'" -f 2`
maas login maas http://${maas_ip}/MAAS/api/1.0 ${apikey}
maas maas sshkeys new key="`cat $HOME/.ssh/id_rsa.pub`"