summaryrefslogtreecommitdiffstats
path: root/ci/02-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-12-21 14:15:14 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-12-21 15:11:57 -0600
commitf2fee53204aa7f3f8fe532b0394b60300a7f96f6 (patch)
tree61832f522c0f465ba9f2c4e8ffd857998dc92181 /ci/02-deploybundle.sh
parentd34b7dfbcee799533c25735db0e8aa47f433c0c7 (diff)
typing mistake.
Change-Id: I55ecd127cd1a3eeef2f2006ad3462dbe12a00037 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/02-deploybundle.sh')
-rwxr-xr-xci/02-deploybundle.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh
index 8589c6ae..23107878 100755
--- a/ci/02-deploybundle.sh
+++ b/ci/02-deploybundle.sh
@@ -63,7 +63,7 @@ if [[ "$opnfvmodel" = "openstack" ]]; then
osdomname=`grep "os-domain-name" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //'`
fi
- workmutiple=`maas maas nodes list | grep "cpu_count" | cut -d ':' -f 2 | sed -e 's/ //' | tr ',' ' '`
+ workmutiple=`maas maas nodes read | grep "cpu_count" | cut -d ':' -f 2 | sed -e 's/ //' | tr ',' ' '`
max=0
for v in ${workmutiple[@]}; do
if (( $v > $max )); then max=$v; fi;
@@ -111,6 +111,8 @@ if [[ "$opnfvmodel" = "openstack" ]]; then
if [ "$osdomname" != "None" ]; then
var=$var"_"publicapi
fi
+else
+ var=k8-$opnfvsdn-$fea-baremetal-core
fi
if [[ "$opnfvmodel" = "openstack" ]]; then