summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-18 22:59:41 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-18 22:59:41 +0000
commit092772dad4d39f12d050575e3eeb72076fad1b22 (patch)
treed9c42b642ffacc031970d2f66459fba897662524 /image.py
parentb8c85a7174a752b485182fa82e3996ac249fcc4c (diff)
downloadanaconda-092772dad4d39f12d050575e3eeb72076fad1b22.tar.gz
anaconda-092772dad4d39f12d050575e3eeb72076fad1b22.tar.xz
anaconda-092772dad4d39f12d050575e3eeb72076fad1b22.zip
fix ejecting -- add a makeDevice param for ejectCdrom (defaults to old
behavior) so that we cna pass just the file we want to eject (eg /tmp/cdrom
Diffstat (limited to 'image.py')
-rw-r--r--image.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/image.py b/image.py
index d3e878a29..980bc3c9b 100644
--- a/image.py
+++ b/image.py
@@ -73,9 +73,7 @@ class CdromInstallMethod(ImageInstallMethod):
% ("/mnt/source",))
def ejectCD(self):
- if len(self.currentDisc) > 0:
- self.unmountCD()
- isys.ejectCdrom("/tmp/cdrom")
+ isys.ejectCdrom("/tmp/cdrom", makeDevice = 0)
def systemUnmounted(self):
if self.loopbackFile: