fix handling of failed installations
This commit is contained in:
parent
193243a498
commit
00ab28aa78
|
@ -295,14 +295,13 @@ class InstallProgressController(BaseController):
|
||||||
self.progress_view.update_done()
|
self.progress_view.update_done()
|
||||||
|
|
||||||
await self.copy_logs_to_target()
|
await self.copy_logs_to_target()
|
||||||
|
|
||||||
if not self.auto_reboot:
|
|
||||||
await self.reboot_clicked.wait()
|
|
||||||
|
|
||||||
self.reboot()
|
|
||||||
except Exception:
|
except Exception:
|
||||||
self.curtin_error()
|
self.curtin_error()
|
||||||
raise
|
|
||||||
|
if not self.auto_reboot:
|
||||||
|
await self.reboot_clicked.wait()
|
||||||
|
|
||||||
|
self.reboot()
|
||||||
|
|
||||||
async def drain_curtin_events(self):
|
async def drain_curtin_events(self):
|
||||||
waited = 0.0
|
waited = 0.0
|
||||||
|
|
Loading…
Reference in New Issue