summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-21 11:33:00 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 15:06:49 -0500
commitd057e82ad155654b511b513d239c843c7ebf7082 (patch)
tree3a1f327cb52afcc729e289c0d919375a13f2e8af /kickstart.py
parentd6d4c4800ebc2958eb87a706e4a7c799647ca447 (diff)
downloadanaconda-d057e82ad155654b511b513d239c843c7ebf7082.tar.gz
anaconda-d057e82ad155654b511b513d239c843c7ebf7082.tar.xz
anaconda-d057e82ad155654b511b513d239c843c7ebf7082.zip
Move users and security to the Anaconda object.
This patch also moves rootPassword into Users where it belongs and auth into Security where it belongs.
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/kickstart.py b/kickstart.py
index 90047ed41..8d40d320f 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -181,7 +181,7 @@ def deviceMatches(spec):
class Authconfig(commands.authconfig.FC3_Authconfig):
def execute(self, anaconda):
- anaconda.id.auth = self.authconfig
+ anaconda.security.auth = self.authconfig
class AutoPart(commands.autopart.F12_AutoPart):
def execute(self, anaconda):
@@ -908,14 +908,14 @@ class RaidData(commands.raid.F12_RaidData):
class RootPw(commands.rootpw.F8_RootPw):
def execute(self, anaconda):
- anaconda.id.rootPassword["password"] = self.password
- anaconda.id.rootPassword["isCrypted"] = self.isCrypted
- anaconda.id.rootPassword["lock"] = self.lock
- anaconda.id.ksdata.skipSteps.append("accounts")
+ anaconda.users.rootPassword["password"] = self.password
+ anaconda.users.rootPassword["isCrypted"] = self.isCrypted
+ anaconda.users.rootPassword["lock"] = self.lock
+ anaconda.ksdata.skipSteps.append("accounts")
class SELinux(commands.selinux.FC3_SELinux):
def execute(self, anaconda):
- anaconda.id.security.setSELinux(self.selinux)
+ anaconda.security.setSELinux(self.selinux)
class SkipX(commands.skipx.FC3_SkipX):
def execute(self, anaconda):