summaryrefslogtreecommitdiffstats
path: root/bash/tools/deploy_nexus.sh
diff options
context:
space:
mode:
authorPetr Ospalý <p.ospaly@partner.samsung.com>2019-01-16 15:55:27 +0100
committerPetr Ospalý <p.ospaly@partner.samsung.com>2019-01-17 13:05:08 +0100
commit7997ff10119d945138704f23a5bc7f0c6160cd84 (patch)
tree3278bb38ab5dfb4328c86f7ec34a9cace5ce2c44 /bash/tools/deploy_nexus.sh
parentcde2f33dfcd9728240d37c80383534a5b6af5caf (diff)
Fix the problem with the firewallbeijing
As of now the installer does not configure iptables rules and for successfull installation some rules are needed. This is simple fix to enable installation even on machines with enabled firewall. The user must setup rules by himself for a production use. Firewall setup may be added in a future revision of the installer. Change-Id: I7ea741b088dbb7f64bb7e8e273f7648f7fbf1bd6 Issue-ID: OOM-1581 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Diffstat (limited to 'bash/tools/deploy_nexus.sh')
-rwxr-xr-xbash/tools/deploy_nexus.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bash/tools/deploy_nexus.sh b/bash/tools/deploy_nexus.sh
index 1532c614..21a51cae 100755
--- a/bash/tools/deploy_nexus.sh
+++ b/bash/tools/deploy_nexus.sh
@@ -156,6 +156,9 @@ update_hosts
# TODO
#check_dependencies
+# TODO: add rules to the firewall
+disable_firewall "$OS_ID"
+
echo "Restarting dnsmasq"
# TODO dnsmasq config?
systemctl enable dnsmasq
@@ -182,8 +185,6 @@ echo "Restarting docker"
systemctl enable docker
systemctl restart docker
-update_firewall
-
set +e
echo "** Loading images **"