[Ovirt-devel] [PATCH PuppetInstaller] Use lokkit to disable selinux

Bryan Kearney bkearney at redhat.com
Mon Dec 22 16:04:48 UTC 2008


---
 ace-ovirt/modules/ovirt/manifests/ovirt.pp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ace-ovirt/modules/ovirt/manifests/ovirt.pp b/ace-ovirt/modules/ovirt/manifests/ovirt.pp
index 36e364f..b3d5756 100644
--- a/ace-ovirt/modules/ovirt/manifests/ovirt.pp
+++ b/ace-ovirt/modules/ovirt/manifests/ovirt.pp
@@ -80,6 +80,10 @@ class ovirt::setup {
 		command => "/usr/bin/ovirt-add-host $ipa_host /usr/share/ovirt-server/ovirt.keytab",
 		require => Package[ovirt-server]
 	}	
+    
+	exec { "disable_selinux" : 
+		command => "/usr/sbin/lokkit --selinux=disabled"
+	}	    
  
 	service {"httpd" :
                 enable => true,
-- 
1.6.0.4




More information about the ovirt-devel mailing list