summaryrefslogtreecommitdiffstats
path: root/deploy/deploy_host.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/deploy_host.sh')
-rwxr-xr-xdeploy/deploy_host.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/deploy_host.sh b/deploy/deploy_host.sh
index b7859d37..7173e3e3 100755
--- 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"