index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-11 22:06:22 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-11 22:06:22 +0200 |
commit | efc7f0cc48ecbe9870af69e3c47191bbd60380b1 (patch) | |
tree | 603505f859712936e7fe19d0bd622015ef12171f | |
parent | 53c95fc1b8c431f420aec2cc0e924e557907d651 (diff) |
-rw-r--r-- | archinstall.py | 6 |
diff --git a/archinstall.py b/archinstall.py index f2d23b5b..8d99cfdc 100644 --- a/archinstall.py +++ b/archinstall.py @@ -638,7 +638,11 @@ if __name__ == '__main__': # fh.write('ExecStart=-/usr/bin/agetty --autologin root -s %I 115200,38400,9600 vt102\n') ## And then boot and execute: - o = b''.join(sys_command('/usr/bin/systemd-nspawn -D /mnt -b --machine temporary', opts={'triggers' : {b'Graphical Interface' : bytes(command, 'UTF-8')}, **opts}).exec()) + o = b''.join(sys_command('/usr/bin/systemd-nspawn -D /mnt -b --machine temporary', opts={'triggers' : { + b'Archinstall login:' : b'root', + b'Password' : bytes(args['password'], 'UTF-8'), + b'root#' : bytes(command, 'UTF-8'), + }, **opts}).exec()) ## And cleanup after out selves.. Don't want to leave any residue.. # os.remove('/mnt/etc/systemd/system/console-getty.service.d/override.conf') |