Change-Id: If2ae7a4db966e8d639fa23900f87efc85a4eddf4
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2561
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>
| ... | ... |
@@ -176,7 +176,8 @@ class Installer(object): |
| 176 | 176 |
self.window.addstr(0, 0, 'Congratulations, Photon has been installed in {0} secs.\n\nPress any key to continue to boot...'.format(self.progress_bar.time_elapsed))
|
| 177 | 177 |
if self.ks_config == None: |
| 178 | 178 |
self.window.content_window().getch() |
| 179 |
- |
|
| 179 |
+ process = subprocess.Popen(['eject', '-r'], stdout=self.output) |
|
| 180 |
+ process.wait() |
|
| 180 | 181 |
return ActionResult(True, None) |
| 181 | 182 |
|
| 182 | 183 |
def copy_rpms(self): |