From 169b3a293dc5cbabff289e3fc719a2ffbadbc95c Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 13 Mar 2008 15:22:21 -0400 Subject: Fix creating new users in kickstart. --- instdata.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'instdata.py') diff --git a/instdata.py b/instdata.py index e1175f2fe..a48c44478 100644 --- a/instdata.py +++ b/instdata.py @@ -199,8 +199,6 @@ class InstallData: self.rootPassword["lock"], algo=self.getPassAlgo()) - self.users.reset() - if self.anaconda.isKickstart: for svc in self.ksdata.services.disabled: iutil.execWithRedirect("/sbin/chkconfig", -- cgit From 4df2e30c9e1d9711eb96ff930dbad46eca99acb2 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 13 Mar 2008 16:01:45 -0400 Subject: Fix the format of the method=hd: parameter. --- instdata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'instdata.py') diff --git a/instdata.py b/instdata.py index a48c44478..bf5300a04 100644 --- a/instdata.py +++ b/instdata.py @@ -100,8 +100,8 @@ class InstallData: stat.S_ISBLK(os.stat("/dev/live")[stat.ST_MODE]): target = os.readlink("/dev/live") self.partitions.protected = [target] - elif self.anaconda._loaderMethodstr.startswith("hd://"): - method = self.anaconda._loaderMethodstr[5:] + elif self.anaconda._loaderMethodstr.startswith("hd:"): + method = self.anaconda._loaderMethodstr[3:] device = method.split(":", 3)[0] self.partitions.protected = [device] -- cgit