diff options
author | Chris Lumens <clumens@redhat.com> | 2008-07-18 11:33:53 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-07-18 11:33:53 -0400 |
commit | d87350714de9031b1e721d148036208c9ab1df8d (patch) | |
tree | c4b6303a6d813a1c5924c1ce2f2e527b3efc217a /image.py | |
parent | f9ee521f1641676f5fb38d5a169271e81eee028a (diff) | |
download | anaconda-d87350714de9031b1e721d148036208c9ab1df8d.tar.gz anaconda-d87350714de9031b1e721d148036208c9ab1df8d.tar.xz anaconda-d87350714de9031b1e721d148036208c9ab1df8d.zip |
We no longer add the fstype to the hd: method in loader.
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -128,10 +128,14 @@ def getMediaId(path): def mountDirectory(methodstr, messageWindow): if methodstr.startswith("hd:"): method = methodstr[3:] - (device, fstype, path) = method.split(":", 3) - device = method[0:method.index(":")] + if method.count(":") == 1: + (device, path) = method.split(":") + fstype = "auto" + else: + (device, fstype, path) = method.split(":") - if not device.startswith("/dev/"): + if not device.startswith("/dev/") and not device.startswith("UUID=") \ + and not device.startswith("LABEL="): device = "/dev/%s" % device elif methodstr.startswith("nfsiso:"): device = methodstr[7:] |