summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--installers/data/pc.sh3
1 files changed, 3 insertions, 0 deletions
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