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-06-20 21:12:46 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2019-06-20 21:12:46 +0000
commit265a4ff73db0114dcf99d5c520f3464fde55d2ea (patch)
tree38d8f49fd270749b8b5d61a8956e6eed09fc520b
parentad852b363b319e6dfbb0ed03d3869c4b909225c5 (diff)
Password being inserted causes the subsystem to wait for it forever. Only add it back if we set a root password earlier than this
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 9be5c371..d45a36b6 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -832,7 +832,7 @@ if __name__ == '__main__':
## [root@<hostname> ~]#
o = b''.join(sys_command('/usr/bin/systemd-nspawn -D /mnt -b --machine temporary', opts={'triggers' : {
bytes(f'login:', 'UTF-8') : b'root\n',
- b'Password:' : bytes(args['password']+'\n', 'UTF-8'),
+ #b'Password:' : bytes(args['password']+'\n', 'UTF-8'),
bytes(f'[root@{args["hostname"]} ~]#', 'UTF-8') : bytes(command+'\n', 'UTF-8'),
}, **opts}).exec())