diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-09-01 17:30:42 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2017-09-01 17:47:10 -0500 |
commit | c7b95f1cdee6d3df0577664ea511a746968add4a (patch) | |
tree | 71e8afa344f39f0e602037e6be2e89519398f3bf /ci/03-maasdeploy.sh | |
parent | 48687e6ae064286cd0d607220d7726d228bac8ea (diff) |
modified to autostart the VMs created for bootstrap and virtual
deployment.
Change-Id: I7afcc6e382f7575fbd2741cded3915763aafe6f6
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/03-maasdeploy.sh')
-rwxr-xr-x | ci/03-maasdeploy.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index 988ea839..668eab91 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -450,6 +450,8 @@ addnodes(){ done fi virsh -c $VIRSHURL define --file bootstrap + virsh -c $VIRSHURL autostart bootstrap + rm -f bootstrap sleep 60 @@ -476,6 +478,8 @@ addnodes(){ nodemac=`grep "mac address" $NODE_NAME | head -1 | cut -d '"' -f 2` virsh -c $VIRSHURL define --file $NODE_NAME + virsh -c $VIRSHURL autostart $NODE_NAME + rm -f $NODE_NAME maas $PROFILE machines create autodetect_nodegroup='yes' name=$NODE_NAME \ tags='control compute' hostname=$NODE_NAME power_type='virsh' mac_addresses=$nodemac \ |