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:
Donovan Glover 2018-12-03 11:28:20 -05:00
parent fdd5e27de8
commit 1fea6d782d
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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"