mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-08 22:54:31 +02:00
meta: Make Arch installation passwd interactive
Instead of trying to automatically set the password to something easy to remember, it is probably better to simply ask for the password upfront.
This commit is contained in:
@ -29,3 +29,9 @@ echo "Running install scripts..."
|
||||
env DISTSIZE="$DISTSIZE" ./001-preinstall
|
||||
env HOSTNAME="$HOSTNAME" ./003-configure
|
||||
env USERNAME="$USERNAME" ./004-postinstall
|
||||
|
||||
echo "Enter a password for the root user..."
|
||||
arch-chroot /mnt passwd
|
||||
|
||||
echo "Enter a password for $USERNAME..."
|
||||
arch-chroot /mnt passwd "$USERNAME"
|
||||
|
Reference in New Issue
Block a user