Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-20 15:32:44 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2019-06-20 15:32:44 +0000
commit964502be7c7e91dc9ba1913dfe6f338ff8d45718 (patch)
treeb74fada4b2b4ee5910537fc9a96200589d0bb441 /archinstall.py
parent943ce56974dd4306b6b9d35b4cfbf118323b4835 (diff)
Fixed broken login with systemd-boot
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 5221e337..b319a3e9 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -742,7 +742,7 @@ 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',
+ 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'),
}, **opts}).exec())