diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-05-18 06:13:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-18 06:13:11 +0000 |
commit | d5b1f207ac7d17a2ac027b34c809ab9645913390 (patch) | |
tree | 303c8658aa37b2b6bb78428c162bf49f7fdd9e2a | |
parent | 23198b289c3401f3f05b2afd371203dbb1f3503f (diff) | |
parent | a9f2e5880c4177810f933a4bc8af933803e27552 (diff) |
Merge "add define for virsh"
-rwxr-xr-x | ci/03-maasdeploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index 7aa5ef41..e5e203e7 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -402,7 +402,7 @@ addnodes(){ $netw $netw --boot network,hd,menu=off --noautoconsole --vnc --print-xml | tee $NODE_NAME nodemac=`grep "mac address" $NODE_NAME | head -1 | cut -d '"' -f 2` - sudo virsh -c $VIRSHURL --file $NODE_NAME + sudo virsh -c $VIRSHURL define --file $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 \ |