summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-01-23 20:42:27 +0100
committerStefan Berg <sfb@consultron.com>2016-01-29 14:25:38 +0100
commit75d42b36c6784ad03f62fad00f6e13575546b64d (patch)
tree39e367e96ad2cc8194acc822cf92fd429243f50d /build
parent19f52239658b8e8b905acf4e8613db51f8d03e02 (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> (cherry picked from commit 6366a06bb43d5db7b54c454df57831292966d6d4)
Diffstat (limited to 'build')
-rwxr-xr-xbuild/f_isoroot/f_bootstrap/bootstrap_admin_node.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
index 6318c5d39..d318d8cd3 100755
--- a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
+++ b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
@@ -40,6 +40,10 @@ done
shopt -u nullglob
### OPNFV addition END
+# Enable sshd
+systemctl enable sshd
+systemctl start sshd
+
if [[ "$showmenu" == "yes" || "$showmenu" == "YES" ]]; then
fuelmenu
else
@@ -61,6 +65,13 @@ if [[ "$showmenu" == "yes" || "$showmenu" == "YES" ]]; then
fi
fi
+systemctl reload sshd
+
+# Enable iptables
+systemctl enable iptables.service
+systemctl start iptables.service
+
+
if [ "$wait_for_external_config" == "yes" ]; then
wait_timeout=3000
pidfile=/var/lock/wait_for_external_config