From 1fea6d782db00f99b6dd4349ae2cc7ea8251d855 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 3 Dec 2018 11:28:20 -0500 Subject: [PATCH] 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. --- .archlinux/install-scripts/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.archlinux/install-scripts/install.sh b/.archlinux/install-scripts/install.sh index eaa4ec4..bd5f889 100755 --- a/.archlinux/install-scripts/install.sh +++ b/.archlinux/install-scripts/install.sh @@ -12,12 +12,12 @@ cd "$(dirname "$0")" echo -n "Enter the size (in GiB) to give the primary partition: " read DISTSIZE -echo -n "Enter a hostname for this machine: " -read HOSTNAME - -echo -n "Enter a username for the local account with sudo rights: " +echo -n "Enter a username for the user with sudo rights (user@____): " read USERNAME +echo -n "Enter a hostname for this machine ($USERNAME@host): " +read HOSTNAME + echo "-----------------------------------------------------" echo "Arch Linux will be installed with the settings above." echo "NOTE: You should not run this script if you do not"