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:
06ecf10
)
modified the variable name.
95/6295/1
author
Narinder Gupta
<narinder.gupta@canonical.com>
Tue, 12 Jan 2016 05:45:32 +0000
(23:45 -0600)
committer
Narinder Gupta
<narinder.gupta@canonical.com>
Tue, 12 Jan 2016 05:51:04 +0000
(
05:51
+0000)
Change-Id: Ief1823fc3ecf1b3fc1f805595ebba21cde1e55ca
(cherry picked from commit
15b89537eff59ab38e7e944f26bcf027dfe3b4b7
)
ci/02-maasdeploy.sh
patch
|
blob
|
history
diff --git
a/ci/02-maasdeploy.sh
b/ci/02-maasdeploy.sh
index
b4daf79
..
3284c3b
100755
(executable)
--- a/
ci/02-maasdeploy.sh
+++ b/
ci/02-maasdeploy.sh
@@
-91,8
+91,8
@@
enableautomodebyname() {
if [ ! -z "$4" ]; then
for i in `seq 1 7`;
do
-
listof
nodes=`maas maas nodes list hostname=node$i-$4 | grep system_id | cut -d '"' -f 4`
- if [ ! -z "$
listof
nodes" ]; then
+ nodes=`maas maas nodes list hostname=node$i-$4 | grep system_id | cut -d '"' -f 4`
+ if [ ! -z "$nodes" ]; then
maas maas interface link-subnet $nodes $1 mode=$2 subnet=$3
fi
done