diff options
author | Chris Lumens <clumens@redhat.com> | 2008-03-13 16:01:45 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-03-13 16:01:45 -0400 |
commit | 4df2e30c9e1d9711eb96ff930dbad46eca99acb2 (patch) | |
tree | e1b442fbc6ed464d9b138893ae52a76ab24d042d /instdata.py | |
parent | 169b3a293dc5cbabff289e3fc719a2ffbadbc95c (diff) | |
download | anaconda-4df2e30c9e1d9711eb96ff930dbad46eca99acb2.tar.gz anaconda-4df2e30c9e1d9711eb96ff930dbad46eca99acb2.tar.xz anaconda-4df2e30c9e1d9711eb96ff930dbad46eca99acb2.zip |
Fix the format of the method=hd: parameter.
Diffstat (limited to 'instdata.py')
-rw-r--r-- | instdata.py | 4 |
1 files changed, 2 insertions, 2 deletions
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] |