summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-09-18 06:10:38 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-18 06:10:38 +0000
commite82e05c743ba40de5b6a76ec9545a0ff6a19f414 (patch)
tree17f9b2c1006d9cd8044b1c241c981415ca97154c
parent8ec26b129c0543896cd65af6dd5d33529f56fd24 (diff)
parent799e1323c05853e83ba01a54ac42818b4309c591 (diff)
Merge "Use virsh reset instead of reboot"
-rwxr-xr-xci/deploy/deploy.sh4
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