Make sure iptables-services is installed

The iptables service files are no longer included by default on
Fedora.  This causes the systemctl calls in fixup_stuff.sh to fail
when disabling firewalld in favor of iptables.

Change-Id: If37691d03e3d07ca8b53c541717081beeb184c16
Closes-Bug: #1462347
This commit is contained in:
Ben Nemec 2015-06-05 12:22:36 -05:00 committed by Ben Nemec
parent 21b7e975fa
commit 64b2ebca15
2 changed files with 4 additions and 0 deletions

View File

@ -28,3 +28,4 @@ net-tools
java-1.7.0-openjdk-headless # NOPRIME rhel7,f20
java-1.8.0-openjdk-headless # NOPRIME f21,f22
pyOpenSSL # version in pip uses too much memory
iptables-services # NOPRIME f21,f22

View File

@ -126,6 +126,9 @@ if is_fedora; then
# [4] http://docs.openstack.org/developer/devstack/guides/neutron.html
if is_package_installed firewalld; then
sudo systemctl disable firewalld
# The iptables service files are no longer included by default,
# at least on a baremetal Fedora 21 Server install.
install_package iptables-services
sudo systemctl enable iptables
sudo systemctl stop firewalld
sudo systemctl start iptables