aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/deploy_host.sh
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-29 16:40:02 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-12-30 08:29:20 +0800
commit884b63029d595e31d0e32c64db4f8394a76526b1 (patch)
tree0c022f6a13ef135128ede9fee2dfd574c54f16a3 /deploy/deploy_host.sh
parentb8f4e0117d54260c993aba3a1d6a429495dacaf6 (diff)
add Shebang for bash scripts
* Our bash scripts use some bash sepcific syntax, so them can not be started by other shell like zsh. Add shebang for them, so zsh can simplely execute './deploy.sh' Change-Id: Ic6e6afaa83c6de131e6ac4eda1601d11c5b22656 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/deploy_host.sh')
-rwxr-xr-x[-rw-r--r--]deploy/deploy_host.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/deploy_host.sh b/deploy/deploy_host.sh
index be392d71..b87a74d3 100644..100755
--- a/deploy/deploy_host.sh
+++ b/deploy/deploy_host.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
function deploy_host(){
ssh $ssh_args root@${MGMT_IP} mkdir -p /opt/compass/bin/ansible_callbacks