diff options
author | Chris Lumens <clumens@redhat.com> | 2009-03-24 09:11:33 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-03-24 09:41:29 -0400 |
commit | 90006d07e51d962fbb2f062bb202c6027832f55d (patch) | |
tree | 6cc9ae6e75b163ea51a059b7624c849b4f2a4d12 /anaconda | |
parent | 283aa05cf327096dd332ce4c09756b6f64da2875 (diff) | |
download | anaconda-90006d07e51d962fbb2f062bb202c6027832f55d.tar.gz anaconda-90006d07e51d962fbb2f062bb202c6027832f55d.tar.xz anaconda-90006d07e51d962fbb2f062bb202c6027832f55d.zip |
getDeviceByName does not expect the CD device to start with "/dev/" (#491768).
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -571,6 +571,9 @@ class Anaconda: if not tree.startswith("/"): tree = "/%s" %(tree,) + if device.startswith("/dev/"): + device = device[5:] + self.mediaDevice = device self.methodstr = "cdrom://%s" % tree else: |