1 *** bootstrap_admin_node.sh.orig Mon May 30 06:31:38 2016
2 --- bootstrap_admin_node.sh Mon May 30 06:35:11 2016
8 if [[ "$showmenu" == "yes" || "$showmenu" == "YES" ]]; then
11 # Give user 15 seconds to enter fuelmenu or else continue
17 + ### OPNFV addition BEGIN
19 + for script in /opt/opnfv/bootstrap/pre.d/*.sh
21 + echo "Pre script: $script" >> /root/pre.log 2>&1
22 + $script >> /root/pre.log 2>&1
25 + ### OPNFV addition END
28 + systemctl enable sshd
29 + systemctl start sshd
31 if [[ "$showmenu" == "yes" || "$showmenu" == "YES" ]]; then
34 # Give user 15 seconds to enter fuelmenu or else continue
38 [ ! -f /etc/fuel_build_id ] && \
39 sed -i "s|127.0.0.1:8080/ubuntu/x86_64|mirror.fuel-infra.org/mos-repos/ubuntu/${FUEL_RELEASE}|g" "${ASTUTE_YAML}"
42 ! systemctl enable sshd
43 ! systemctl start sshd
46 systemctl enable iptables.service
48 [ ! -f /etc/fuel_build_id ] && \
49 sed -i "s|127.0.0.1:8080/ubuntu/x86_64|mirror.fuel-infra.org/mos-repos/ubuntu/${FUEL_RELEASE}|g" "${ASTUTE_YAML}"
51 ! systemctl reload sshd
54 systemctl enable iptables.service
61 + ### OPNFV addition BEGIN
63 + for script in /opt/opnfv/bootstrap/post.d/*.sh
65 + echo "Post script: $script" >> /root/post.log 2>&1
66 + $script >> /root/post.log 2>&1
69 + ### OPNFV addition END
71 if [ "`get_bootstrap_skip`" = "False" ]; then
72 build_ubuntu_bootstrap bs_status || true