From 521479bd1e798232d25fb851d08d741ff987d04b Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 25 Sep 2018 15:00:04 -0400 Subject: [PATCH] Prompt for username and hostname --- scripts/arch/003-configure | 3 ++- scripts/arch/004-postinstall | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/arch/003-configure b/scripts/arch/003-configure index c11a3f6f..aedaec68 100644 --- a/scripts/arch/003-configure +++ b/scripts/arch/003-configure @@ -7,7 +7,8 @@ set -xe -$HOSTNAME = "arch" +echo -n "Enter a hostname for this machine: " +read HOSTNAME # Generate the fstab file (so the filesystem is mounted on boot) genfstab -U /mnt > /mnt/etc/fstab diff --git a/scripts/arch/004-postinstall b/scripts/arch/004-postinstall index 40a65d76..e0446874 100644 --- a/scripts/arch/004-postinstall +++ b/scripts/arch/004-postinstall @@ -7,7 +7,8 @@ set -xe -$USERNAME = "hello" +echo -n "Enter a username for the local account with administrative rights: " +read USERNAME # Start and enable the DHCP client daemon service systemctl start dhcpcd.service