Start sshd daemon before fuelmenu 21/7821/1
authorMichal Skalski <mskalski@mirantis.com>
Sat, 23 Jan 2016 19:42:27 +0000 (20:42 +0100)
committerMichal Skalski <mskalski@mirantis.com>
Sat, 23 Jan 2016 19:42:27 +0000 (20:42 +0100)
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>
build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh

index 184e5d9..6919ccf 100755 (executable)
@@ -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