mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Switch off iptables and SELinux to permissive mode.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user