have a netplan failure crash a non-interactive install

This commit is contained in:
Michael Hudson-Doyle 2020-04-29 14:51:25 +12:00
parent f8eef1d16a
commit d082bad4ce
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ class NetworkController(NetworkController, SubiquityController):
self.app.make_apport_report(
ErrorReportKind.NETWORK_FAIL, "applying network",
interrupt=True)
if not self.interactive():
raise
def done(self):
self.configured()