From: Narinder Gupta Date: Wed, 24 Jan 2018 21:52:00 +0000 (-0600) Subject: modified to satified the lab issues it seems sudo was required in X-Git-Tag: opnfv-6.0.0~14 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=233fdd3fe4f253ed10f3e519f12b7a698ae27dcd;p=joid.git modified to satified the lab issues it seems sudo was required in his environment. Change-Id: If406bbeb4577369a5b7c7f76a9e0255eef2afbcf Signed-off-by: Narinder Gupta --- 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