index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Lord Anton Hvornum <anton.feeds@gmail.com> | 2018-04-07 01:21:45 +0200 |
---|---|---|
committer | Lord Anton Hvornum <anton.feeds@gmail.com> | 2018-04-07 01:21:45 +0200 |
commit | 0447d1cb4071b5ad5ba874c4a80ac6c8e555e0bb (patch) | |
tree | d3390803953938fcea1d7e52aa43a12f0e00c9c5 | |
parent | 1cc417628d76b329dd9c26f1a95d875e2b9653ad (diff) |
-rw-r--r-- | archinstall.py | 9 |
diff --git a/archinstall.py b/archinstall.py index 43e1ba32..a9721e17 100644 --- a/archinstall.py +++ b/archinstall.py @@ -187,6 +187,7 @@ if __name__ == '__main__': o = run('arch-chroot /mnt locale-gen') o = run('arch-chroot /mnt chmod 700 /root') #o = run('arch-chroot /mnt usermod --password {} root'.format(PIN)) + #TODO: This doesn't work either: (why the hell not?) o = run("arch-chroot /mnt echo 'root:{pin}' | chpasswd".format(**args, pin=PIN)) if 'user' in args: o = run('arch-chroot /mnt useradd -m -G wheel {user}'.format(**args)) @@ -216,7 +217,7 @@ if __name__ == '__main__': entry.write('options cryptdevice=UUID={UUID}:luksdev root=/dev/mapper/luksdev rw intel_pstate=no_hwp\n'.format(UUID=UUID)) o = run('umount -R /mnt') - #if args['post'] == 'reboot': - # o = run('reboot now') - #else: - # print('Done. "reboot" when you\'re done tinkering.') + if args['post'] == 'reboot': + o = run('reboot now') + else: + print('Done. "reboot" when you\'re done tinkering.') |