diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-01-23 12:49:42 -0600 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2017-01-23 13:46:37 -0600 |
commit | 6b74031e2bd37ed40d24fab4139c035740f06dd0 (patch) | |
tree | 3e1937bd89b1631f6a370384c10febb658c9214c /ci | |
parent | 08e9dd137799855bb32606bf3184ab69a8091124 (diff) |
modfied to add more vms in case there is updates required.
Change-Id: Ieccdefb3d8a37a3aede41902d6f7cfb3e933ec1e
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/03-maasdeploy.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index 7dc99c9a..f84f5d6f 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -309,9 +309,9 @@ addnodes(){ netw="" for feature in $brid; do if [ "$feature" == "" ]; then - netw=$feature + netw=$netw else - netw=$fea" --network bridge="$feature",model=virtio" + netw=$netw" --network bridge="$feature",model=virtio" fi done fi @@ -342,17 +342,17 @@ addnodes(){ sudo virt-install --connect qemu:///system --name node1-control --ram 8192 --cpu host --vcpus 4 \ --disk size=120,format=qcow2,bus=virtio,io=native,pool=default \ - --network bridge=virbr0,model=virtio $ntew \ + --network bridge=virbr0,model=virtio $netw \ --boot network,hd,menu=off --noautoconsole --vnc --print-xml | tee node1-control sudo virt-install --connect qemu:///system --name node2-compute --ram 8192 --cpu host --vcpus 4 \ --disk size=120,format=qcow2,bus=virtio,io=native,pool=default \ - --network bridge=virbr0,model=virtio $ntew \ + --network bridge=virbr0,model=virtio $netw \ --boot network,hd,menu=off --noautoconsole --vnc --print-xml | tee node2-compute sudo virt-install --connect qemu:///system --name node5-compute --ram 8192 --cpu host --vcpus 4 \ --disk size=120,format=qcow2,bus=virtio,io=native,pool=default \ - --network bridge=virbr0,model=virtio $ntew \ + --network bridge=virbr0,model=virtio $netw \ --boot network,hd,menu=off --noautoconsole --vnc --print-xml | tee node5-compute |