index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-06-20 15:32:44 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2019-06-20 15:32:44 +0000 |
commit | 964502be7c7e91dc9ba1913dfe6f338ff8d45718 (patch) | |
tree | b74fada4b2b4ee5910537fc9a96200589d0bb441 /archinstall.py | |
parent | 943ce56974dd4306b6b9d35b4cfbf118323b4835 (diff) |
-rw-r--r-- | archinstall.py | 2 |
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()) |