summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-03-17 04:41:37 +0000
committerJeremy Katz <katzj@redhat.com>2004-03-17 04:41:37 +0000
commit02b5f1241306b00c4766c93ae919d950ffabbf0d (patch)
tree5bc7f15744d452a5202e8629004a0ad684b5fd5f /installclass.py
parent3ab4e12e76e4cd6fcfc785cce78c0d8c8bee720e (diff)
downloadanaconda-02b5f1241306b00c4766c93ae919d950ffabbf0d.tar.gz
anaconda-02b5f1241306b00c4766c93ae919d950ffabbf0d.tar.xz
anaconda-02b5f1241306b00c4766c93ae919d950ffabbf0d.zip
quick hack for selinux support in kickstart, syntax may change before the
final release
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py
index 06233b8ee..4c00ea836 100644
--- a/installclass.py
+++ b/installclass.py
@@ -339,6 +339,9 @@ class BaseInstallClass:
def setDesktop(self, id, desktop):
id.desktop.setDefaultDesktop (desktop)
+ def setSELinux(self, id, sel):
+ id.security.setSELinux(sel)
+
def setFirewall(self, id, enable = 1, trusts = [], ports = "",
ssh = 0, telnet = 0, smtp = 0, http = 0, ftp = 0):
id.firewall.enabled = enable