Code Review
/
compass4nfv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4a4a18e
)
bugfix: make reboot_hosts async
81/7681/1
author
carey.xu
<carey.xuhan@huawei.com>
Fri, 22 Jan 2016 00:54:47 +0000
(08:54 +0800)
committer
carey.xu
<carey.xuhan@huawei.com>
Fri, 22 Jan 2016 00:54:47 +0000
(08:54 +0800)
Change-Id: If9f7b8a091edb4ac3d057f5e87c62ab10a7a0674
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
deploy/deploy_host.sh
patch
|
blob
|
history
diff --git
a/deploy/deploy_host.sh
b/deploy/deploy_host.sh
index
b7859d3
..
7173e3e
100755
(executable)
--- a/
deploy/deploy_host.sh
+++ b/
deploy/deploy_host.sh
@@
-6,7
+6,7
@@
function deploy_host(){
scp $ssh_args -r ${COMPASS_DIR}/deploy/status_callback.py root@${MGMT_IP}:/opt/compass/bin/ansible_callbacks/status_callback.py
# avoid nodes reboot to fast, cobbler can not give response
-
nohup bash -c "sleep 20;reboot_hosts"
&
+
(sleep 20;reboot_hosts)
&
if [[ "$REDEPLOY_HOST" == true ]]; then
deploy_flag="redeploy"