Switch off iptables and SELinux to permissive mode.

This commit is contained in:
pradels
2013-04-10 14:11:27 +02:00
parent f82018cf7b
commit 0df992d3c1

View File

@@ -86,6 +86,12 @@ EOF
chmod 600 ~root/.ssh/authorized_keys chmod 600 ~root/.ssh/authorized_keys
# Disable firewall and switch SELinux to permissive mode.
chkconfig iptables off
chkconfig ip6tables off
sed -i 's/SELINUX=enforcing/SELINUX=permissive/' /etc/sysconfig/selinux
# Networking setup.. # Networking setup..
# Don't fix ethX names to hw address. # Don't fix ethX names to hw address.
rm -f /etc/udev/rules.d/*persistent-net.rules rm -f /etc/udev/rules.d/*persistent-net.rules