Added password change at the end of the install
This commit is contained in:
parent
4c3fdff8a2
commit
2e2ca7c41e
@ -40,6 +40,10 @@ nixos-generate-config --root /mnt
|
|||||||
# Install NixOS using the cloned configuration
|
# Install NixOS using the cloned configuration
|
||||||
nixos-install --flake /mnt/etc/nixos#vm
|
nixos-install --flake /mnt/etc/nixos#vm
|
||||||
|
|
||||||
|
# Set the root password
|
||||||
|
echo "Set the root password:"
|
||||||
|
passwd
|
||||||
|
|
||||||
# Reboot the system
|
# Reboot the system
|
||||||
echo "Installation complete. Rebooting..."
|
echo "Installation complete. Rebooting..."
|
||||||
reboot
|
reboot
|
Loading…
x
Reference in New Issue
Block a user