summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda3
1 files changed, 3 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 28893e29e..777970382 100755
--- a/anaconda
+++ b/anaconda
@@ -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: