From 33610debefe9cc8382c3053ab57a2ed2101796d6 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 14 Apr 2019 17:27:19 +0200 Subject: Fixing login scenario --- archinstall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall.py') 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@ ~]# 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()) -- cgit v1.2.3-70-g09d2