From 196b03c90c2fc245d1b98356fa867ede7ab6e96f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 25 Jul 2014 10:23:19 -0400 Subject: installers/pc: Prompt for and set hostname --- diff --git a/installers/data/pc.sh b/installers/data/pc.sh index 1ec3e62..0818437 100644 --- a/installers/data/pc.sh +++ b/installers/data/pc.sh @@ -47,6 +47,9 @@ _select() printf '\nConfigure the network' printf '\n=====================\n\n' +printf 'Hostname: ' +_read -r hostname +printf '%s\n' "${hostname}" >/etc/hostname printf 'Network configuration method:\n' _select 'Static' 'DHCP' if [ "x${select_result}" = 'xStatic' ]; then -- cgit v0.9.1