aboutsummaryrefslogtreecommitdiffstats
path: root/deployed-server/deployed-server-bootstrap-rhel.sh
diff options
context:
space:
mode:
authorJames Slagle <jslagle@redhat.com>2017-04-03 12:50:45 -0400
committerJames Slagle <jslagle@redhat.com>2017-04-04 14:46:54 +0000
commit33e63c2c77fde0af65e33d404dc99036785ee94a (patch)
tree4dfcb2afc9c1df639424b3f6650304f492163b50 /deployed-server/deployed-server-bootstrap-rhel.sh
parentb8855022563dda29aa78590a67386db35c5c6687 (diff)
Purge initial firewall for deployed-server's
We need to purge the initial firewall for deployed-server's, otherwise if you have a default REJECT rule, the pacemaker cluster will fail to initialize. This matches the behavior done when using images, see: Iddc21316a1a3d42a1a43cbb4b9c178adba8f8db3 I0dee5ff045fbfe7b55d078583e16b107eec534aa Change-Id: Ia83d17b609e4f737074482a980689cc57c3ad911 Closes-Bug: #1679234 (cherry picked from commit a216934f408439e77bf8346dafe30c4752c70946)
Diffstat (limited to 'deployed-server/deployed-server-bootstrap-rhel.sh')
-rw-r--r--deployed-server/deployed-server-bootstrap-rhel.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/deployed-server/deployed-server-bootstrap-rhel.sh b/deployed-server/deployed-server-bootstrap-rhel.sh
index 10b4999..9e9e9b3 100644
--- a/deployed-server/deployed-server-bootstrap-rhel.sh
+++ b/deployed-server/deployed-server-bootstrap-rhel.sh
@@ -12,3 +12,6 @@ yum install -y \
openstack-selinux
ln -s -f /usr/share/openstack-puppet/modules/* /etc/puppet/modules
+
+echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/iptables
+echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/ip6tables