summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-03-27 13:38:01 +0100
committerJonas Smedegaard <dr@jones.dk>2014-03-28 02:56:47 +0100
commit9feb1c22d6dad8bc27157b1cb1d365eed2b1ce6b (patch)
treeb0d04fed522fee1f1843f8f50d64abbba08e4f21
parent70b7ff686d4ad17396831adc00d16f89e545aeeb (diff)
Set generic hostname (it is used also for LVM and visible at login.
-rw-r--r--skel/preseed.cfg.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/skel/preseed.cfg.in b/skel/preseed.cfg.in
index ee49323..3b0b278 100644
--- a/skel/preseed.cfg.in
+++ b/skel/preseed.cfg.in
@@ -25,13 +25,15 @@ d-i partman/confirm_nooverwrite boolean true
# silence misc. questions
# * attempt to auto-detect hardware
-# * domain name irrelevant on desktop host without MTA
+# * set generic hostname
# * use CDN for package updates
# * disable direct root login (use sudo instead)
# * report usage statistics back to Debian developers
# * restart libc-based services without asking
d-i netcfg/choose_interface select auto
+d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
+d-i netcfg/hostname string workstation
d-i mirror/country string manual
d-i mirror/http/hostname string http.debian.net
d-i mirror/http/directory string /debian