Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-04-14 17:27:19 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-04-14 17:27:19 +0200
commit33610debefe9cc8382c3053ab57a2ed2101796d6 (patch)
tree0ef04978938b26e442d99d18f8b2e7d1e19fbddc
parent968fad8f948a9f644098f51e8a04fb5ad985c9ec (diff)
Fixing login scenario
-rw-r--r--archinstall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall.py b/archinstall.py
index 6b4a5ce5..74f4e223 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -683,8 +683,8 @@ if __name__ == '__main__':
## since we set the password as the last step. And then the command itself which will be executed by looking for:
## [root@<hostname> ~]#
o = b''.join(sys_command('/usr/bin/systemd-nspawn -D /mnt -b --machine temporary', opts={'triggers' : {
- bytes(f'{args["hostname"]} login', 'UTF-8') : b'root\n',
- b'Password' : bytes(args['password']+'\n', 'UTF-8'),
+ bytes(f'login:', 'UTF-8') : b'root\n', # {args["hostname"]} login:
+ #b'Password' : bytes(args['password']+'\n', 'UTF-8'),
bytes(f'[root@{args["hostname"]} ~]#', 'UTF-8') : bytes(command+'\n', 'UTF-8'),
}, **opts}).exec())