From a8a8656818ef8db333a6c35dab0bb4903fb32802 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 20 Oct 2020 14:52:11 +0100 Subject: [PATCH] welcome: fix crash on serial ip addresses LP: #1900707 --- subiquity/controllers/welcome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquity/controllers/welcome.py b/subiquity/controllers/welcome.py index 13a23459..5dc50079 100644 --- a/subiquity/controllers/welcome.py +++ b/subiquity/controllers/welcome.py @@ -51,7 +51,7 @@ class WelcomeController(SubiquityTuiController): language = self.model.selected_language serial = self.app.opts.run_on_serial if serial: - ips = get_global_addresses() + ips = get_global_addresses(self.app) else: ips = None return WelcomeView(self, language, serial, ips)