modified to satified the lab issues it seems sudo was required in 79/51079/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 24 Jan 2018 21:52:00 +0000 (15:52 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 24 Jan 2018 21:52:32 +0000 (15:52 -0600)
his environment.

Change-Id: If406bbeb4577369a5b7c7f76a9e0255eef2afbcf
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/03-maasdeploy.sh

index 27a72a4..a6b311d 100755 (executable)
@@ -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