summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2018-01-24 15:52:00 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2018-01-24 15:52:32 -0600
commit233fdd3fe4f253ed10f3e519f12b7a698ae27dcd (patch)
tree2bb2d239bc68e96dec66e602dc57a4b0be2ccd44 /ci
parenta95887f4276020ec4ec2bcfbd7dc9f6fb3957d3b (diff)
modified to satified the lab issues it seems sudo was required in
his environment. Change-Id: If406bbeb4577369a5b7c7f76a9e0255eef2afbcf Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/03-maasdeploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh
index 27a72a40..a6b311dc 100755
--- a/ci/03-maasdeploy.sh
+++ b/ci/03-maasdeploy.sh
@@ -476,7 +476,7 @@ addnodes(){
else
netw=""
- brid=`brctl show | grep 8000 | cut -d "8" -f 1 | tr "\n" " " | tr " " " " | tr -s " "`
+ brid=`sudo brctl show | grep 8000 | cut -d "8" -f 1 | tr "\n" " " | tr " " " " | tr -s " "`
ADMIN_BR=`cat labconfig.json | jq '.opnfv.spaces[] | select(.type=="admin")'.bridge | cut -d \" -f 2 `
for feature in $brid; do