From 3769a3193b24ff77620f0160239058296dc495be Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 29 Nov 2019 16:36:43 +0100 Subject: Tweaking event input --- archinstall.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archinstall.py') diff --git a/archinstall.py b/archinstall.py index feb73093..39911742 100644 --- a/archinstall.py +++ b/archinstall.py @@ -1116,9 +1116,9 @@ def run_post_install_steps(*positionals, **kwargs): ## since we set the password as the last step. And then the command itself which will be executed by looking for: ## [root@ ~]# defaults = { - bytes(f'login:', 'UTF-8') : b'root\n', - #b'Password:' : bytes(args['password']+'\n', 'UTF-8'), - bytes(f'[root@{args["hostname"]} ~]#', 'UTF-8') : bytes(command+'\n', 'UTF-8'), + 'login:' : 'root\n', + #b'Password:' : bytes(args['password']+'\n', + '[root@{args["hostname"]} ~]#' : command+'\n', } if not 'events' in opts: opts['events'] = {} events = {**defaults, **opts['events']} -- cgit v1.2.3-70-g09d2