Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 18:02:11 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 18:02:11 +0100
commit42b697a4e35bfe6248f2b57c7166d5e496b2326b (patch)
tree80adc198aaf0c7a08f525f9e35c06c6ea92af30f
parentbf32476bfd92af8280c17bc04fe73a3932e01b7d (diff)
Debugging
-rw-r--r--archinstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall.py b/archinstall.py
index 2f22f94c..64c1a164 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -1360,6 +1360,8 @@ if __name__ == '__main__':
# o = sys_command('arch-chroot /mnt usermod --password {} root'.format(args['password']))
# o = sys_command("arch-chroot /mnt sh -c 'echo {pin} | passwd --stdin root'".format(pin='"{pin}"'.format(**args, pin=args['password'])), echo=True)
o = simple_command("/usr/bin/arch-chroot /mnt sh -c \"echo 'root:{pin}' | chpasswd\"".format(**args, pin=args['password']))
+ print(o)
+ time.sleep(5)
if 'user' in args:
o = ('/usr/bin/arch-chroot /mnt useradd -m -G wheel {user}'.format(**args))
o = ("/usr/bin/arch-chroot /mnt sh -c \"echo '{user}:{pin}' | chpasswd\"".format(**args, pin=args['password']))