[DRE-commits] [vagrant-libvirt] 19/104: Switch off iptables and SELinux to permissive mode.

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:55:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.11
in repository vagrant-libvirt.

commit 0df992d3c185d4b1c56a76a1dd82e24bdb45c8b3
Author: pradels <les.pradels at gmail.com>
Date:   Wed Apr 10 14:11:27 2013 +0200

    Switch off iptables and SELinux to permissive mode.
---
 tools/prepare_redhat_for_box.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/prepare_redhat_for_box.sh b/tools/prepare_redhat_for_box.sh
index c9588a8..5b82c43 100755
--- a/tools/prepare_redhat_for_box.sh
+++ b/tools/prepare_redhat_for_box.sh
@@ -86,6 +86,12 @@ EOF
 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..
 # Don't fix ethX names to hw address.
 rm -f /etc/udev/rules.d/*persistent-net.rules

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list