summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-02-06 16:15:02 -0500
committerChris Lumens <clumens@redhat.com>2008-02-06 16:15:02 -0500
commitffca0f81d15959d0658cd82fc79f997eab3958fe (patch)
tree0da941a78c919a6116e87a41706818be573139fc /instdata.py
parenteca30cc3ced2bef4164e577cc5b5865f70899c8a (diff)
downloadanaconda-ffca0f81d15959d0658cd82fc79f997eab3958fe.tar.gz
anaconda-ffca0f81d15959d0658cd82fc79f997eab3958fe.tar.xz
anaconda-ffca0f81d15959d0658cd82fc79f997eab3958fe.zip
Fix methodstr handling for hdiso installs (#431132).
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/instdata.py b/instdata.py
index bf005f817..b90af8d6b 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.methodstr.startswith("hd://"):
- method = self.methodstr[5:]
+ elif self.anaconda._loaderMethodstr.startswith("hd://"):
+ method = self.anaconda._loaderMethodstr[5:]
device = method.split(":", 3)[0]
self.partitions.protected = [device]