From e9a56336b664f4575194c2317aa747652a2ecb6f Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Tue, 15 Aug 2017 13:28:22 -0500 Subject: modified templates and added variable to easlity understand the templates and added support for multiple networks. Change-Id: I1074c722c9007bd12c711dbfc58afa1a098d2a17 Signed-off-by: Narinder Gupta --- ci/03-maasdeploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ci/03-maasdeploy.sh') diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index 2b99ff6c..a162bfb9 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -396,7 +396,7 @@ addnodes(){ if [ "$virtinstall" -eq 1 ]; then netw=" --network bridge=virbr0,model=virtio" - elif ([ $VIRSHHOST != "" ]); then + elif ([ "$VIRSHHOST" != "" ]); then # Get the bridge hosting the remote virsh brid=$(ssh $VIRSHHOST "ip a l | grep $VIRSHHOST | perl -pe 's/.* (.*)\$/\$1/g'") netw=" --network bridge=$brid,model=virtio" -- cgit 1.2.3-korg