Merge pull request #861 from mwhudson/fix-console_conf

trivial fixes for console_conf breakage
This commit is contained in:
Dimitri John Ledkov 2020-11-09 16:22:08 +00:00 committed by GitHub
commit 997235886d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -208,6 +208,7 @@ class IdentityController(TuiController):
ifaces = net_model.get_all_netdevs()
login_view = LoginView(self.opts, self.model, self, ifaces)
login_view._w.focus_position = 2
return login_view
def login(self):
self.ui.set_body(self.make_login_view())

View File

@ -37,6 +37,10 @@ class ConsoleConf(TuiApplication):
"Identity",
]
def __init__(self, opts):
super().__init__(opts)
self.prober = Prober(opts.machine_config, self.debug_flags)
class RecoveryChooser(TuiApplication):