From 964502be7c7e91dc9ba1913dfe6f338ff8d45718 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 20 Jun 2019 15:32:44 +0000 Subject: Fixed broken login with systemd-boot --- archinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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@ ~]# 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()) -- cgit v1.2.3-70-g09d2