summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-04-11 18:29:07 +0000
committerChris Lumens <clumens@redhat.com>2006-04-11 18:29:07 +0000
commit123a65b73ba52ae56256c965d610536cc24f5a71 (patch)
tree7071d45152b27682adf6399ea22fc03754e85193 /kickstart.py
parent2413f486a9bac357c9aa19559cd33a6fd900f07a (diff)
downloadanaconda-123a65b73ba52ae56256c965d610536cc24f5a71.tar.gz
anaconda-123a65b73ba52ae56256c965d610536cc24f5a71.tar.xz
anaconda-123a65b73ba52ae56256c965d610536cc24f5a71.zip
Use libuser for handling the root password instead of a bunch of our own
stuff.
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kickstart.py b/kickstart.py
index b90de8cd4..ac8090618 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -515,8 +515,9 @@ class AnacondaKSHandlers(KickstartHandlers):
def doRootPw(self, id, args):
KickstartHandlers.doRootPw(self, args)
dict = self.ksdata.rootpw
-
- id.instClass.setRootPassword(id, dict["password"], dict["isCrypted"])
+
+ id.rootPassword["password"] = dict["password"]
+ id.rootPassword["isCrypted"] = dict["isCrypted"]
self.skipSteps.append("accounts")
def doSELinux(self, id, args):