Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 16:36:43 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 16:36:43 +0100
commit3769a3193b24ff77620f0160239058296dc495be (patch)
treefee4d4a57da08d1fd32a30f52e2e5020f8ea1337
parent7b1968fa9a27eedb195e0d3e9d416413dafe71bb (diff)
Tweaking event input
-rw-r--r--archinstall.py6
1 files changed, 3 insertions, 3 deletions
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@<hostname> ~]#
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']}