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:
d5f0a7d
)
fix maas version check
69/28569/1
author
Ryota MIBU
<r-mibu@cq.jp.nec.com>
Tue, 14 Feb 2017 02:49:21 +0000
(
02:49
+0000)
committer
Ryota MIBU
<r-mibu@cq.jp.nec.com>
Tue, 14 Feb 2017 02:49:21 +0000
(
02:49
+0000)
Change-Id: Ifa07fb394ee573439837ca5ae2fff3f1f4c4ea1f
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
ci/02-deploybundle.sh
patch
|
blob
|
history
diff --git
a/ci/02-deploybundle.sh
b/ci/02-deploybundle.sh
index
c8d35ef
..
7ac224a
100755
(executable)
--- a/
ci/02-deploybundle.sh
+++ b/
ci/02-deploybundle.sh
@@
-49,7
+49,7
@@
check_status() {
PROFILE=maas
MAAS_IP=$(grep " ip_address" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //')
API_SERVERMAAS="http://$MAAS_IP/MAAS/"
-if [
"$maasver" > "2"
]; then
+if [
[ "$maasver" > "2" ]
]; then
API_KEY=`sudo maas-region apikey --username=ubuntu || true`
else
API_KEY=`sudo maas-region-admin apikey --username=ubuntu || true`