mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
archlinux: Swap username and hostname inputs
Since the username appears before the hostname (user@host), and since anyone using these install scripts will probably want to log in with the local user account and not the root account, this change makes sense.
This commit is contained in:
parent
fdd5e27de8
commit
1fea6d782d
@ -12,12 +12,12 @@ cd "$(dirname "$0")"
|
|||||||
echo -n "Enter the size (in GiB) to give the primary partition: "
|
echo -n "Enter the size (in GiB) to give the primary partition: "
|
||||||
read DISTSIZE
|
read DISTSIZE
|
||||||
|
|
||||||
echo -n "Enter a hostname for this machine: "
|
echo -n "Enter a username for the user with sudo rights (user@____): "
|
||||||
read HOSTNAME
|
|
||||||
|
|
||||||
echo -n "Enter a username for the local account with sudo rights: "
|
|
||||||
read USERNAME
|
read USERNAME
|
||||||
|
|
||||||
|
echo -n "Enter a hostname for this machine ($USERNAME@host): "
|
||||||
|
read HOSTNAME
|
||||||
|
|
||||||
echo "-----------------------------------------------------"
|
echo "-----------------------------------------------------"
|
||||||
echo "Arch Linux will be installed with the settings above."
|
echo "Arch Linux will be installed with the settings above."
|
||||||
echo "NOTE: You should not run this script if you do not"
|
echo "NOTE: You should not run this script if you do not"
|
||||||
|
Loading…
Reference in New Issue
Block a user