summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'image.py')
-rw-r--r--image.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/image.py b/image.py
index 428ced08f..b34cfc284 100644
--- a/image.py
+++ b/image.py
@@ -110,6 +110,9 @@ class CdromInstallMethod(ImageInstallMethod):
except:
pass
+ if done:
+ break
+
if not done:
isys.ejectCdrom(self.device)