summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-01-11 23:45:32 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-01-12 05:51:04 +0000
commite3185e06d3222b614f24bc6844945d073d721fca (patch)
tree3e81adc057a1cde3ebf70d377b241582ecb5cc2f
parent06ecf10474d77fc2d415d1d7bcd5cdf32099ae52 (diff)
modified the variable name.
Change-Id: Ief1823fc3ecf1b3fc1f805595ebba21cde1e55ca (cherry picked from commit 15b89537eff59ab38e7e944f26bcf027dfe3b4b7)
-rwxr-xr-xci/02-maasdeploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh
index b4daf795..3284c3ba 100755
--- 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
- listofnodes=`maas maas nodes list hostname=node$i-$4 | grep system_id | cut -d '"' -f 4`
- if [ ! -z "$listofnodes" ]; 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