diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-09-18 06:10:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-18 06:10:38 +0000 |
commit | e82e05c743ba40de5b6a76ec9545a0ff6a19f414 (patch) | |
tree | 17f9b2c1006d9cd8044b1c241c981415ca97154c /ci/deploy | |
parent | 8ec26b129c0543896cd65af6dd5d33529f56fd24 (diff) | |
parent | 799e1323c05853e83ba01a54ac42818b4309c591 (diff) |
Merge "Use virsh reset instead of reboot"
Diffstat (limited to 'ci/deploy')
-rwxr-xr-x | ci/deploy/deploy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh index b73c80f9..e60cdd54 100755 --- a/ci/deploy/deploy.sh +++ b/ci/deploy/deploy.sh @@ -553,10 +553,10 @@ sleep 10 if [ $IS_BARE == 0 ];then if [ $TARGET_HOSTS_NUM == 1 ];then - virsh reboot all_in_one + virsh reset all_in_one else for ((i=0;i<${#VM_MULTINODE[@]};i++));do - virsh reboot ${VM_MULTINODE[$i]} + virsh reset ${VM_MULTINODE[$i]} done fi fi |