aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_bootstrap
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-01-23 20:42:27 +0100
committerMichal Skalski <mskalski@mirantis.com>2016-01-23 20:42:27 +0100
commit6366a06bb43d5db7b54c454df57831292966d6d4 (patch)
tree714ccad1fc05e0100475a4a366defd3013193570 /build/f_isoroot/f_bootstrap
parent3778f82dfe7afe258a9584f72f82ac2ee6e8d92b (diff)
Start sshd daemon before fuelmenu
OPNFV deploy script require ssh connectivity to fuel master node to discover if fuelmenu process is started. Change-Id: Ib9aa61f98d15d0554b135f4c0c8887cd0a2d36ce Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Diffstat (limited to 'build/f_isoroot/f_bootstrap')
-rwxr-xr-xbuild/f_isoroot/f_bootstrap/bootstrap_admin_node.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
index 184e5d942..6919ccf76 100755
--- a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
+++ b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
@@ -211,6 +211,10 @@ done
shopt -u nullglob
### OPNFV addition END
+# Enable sshd
+systemctl enable sshd
+systemctl start sshd
+
if [[ "$showmenu" == "yes" || "$showmenu" == "YES" ]]; then
fuelmenu
else
@@ -232,9 +236,7 @@ if [[ "$showmenu" == "yes" || "$showmenu" == "YES" ]]; then
fi
fi
-# Enable sshd
-systemctl enable sshd
-systemctl start sshd
+systemctl reload sshd
# Enable iptables
systemctl enable iptables.service