summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'image.py')
-rw-r--r--image.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/image.py b/image.py
index e8f2ca48a..915d117b5 100644
--- a/image.py
+++ b/image.py
@@ -46,10 +46,9 @@ class CdromInstallMethod(ImageInstallMethod):
while not done:
self.messageWindow(_("Change CDROM"),
_("Please insert disc %d to continue.") % self.currentDisc)
- isys.makeDevInode(self.device, "/tmp/cdrom")
try:
- isys.mount("/tmp/cdrom", "/mnt/source", fstype = "iso9660",
+ isys.mount(self.device, "/mnt/source", fstype = "iso9660",
readOnly = 1)
if os.access("/mnt/source/%s" % key, os.O_RDONLY):