summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/instdata.py b/instdata.py
index e1175f2fe..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]
@@ -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",