summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorBenjamin Schlüter <bschlueter@posteo.de>2018-01-29 15:35:26 +0100
committerBenjamin Schlüter <bschlueter@posteo.de>2018-01-29 15:35:26 +0100
commit8e1a2abf6b733220a36c17c88523dad7a2bf6f48 (patch)
treecf00863a39caee5d0a8522121c8cc12e1ae09b05 /install-itzks-workstation
parentab409eca5e574e4c4e01a2af295718ff58d17374 (diff)
downloaditzks-install-script-8e1a2abf6b733220a36c17c88523dad7a2bf6f48.tar.gz
itzks-install-script-8e1a2abf6b733220a36c17c88523dad7a2bf6f48.tar.bz2
itzks-install-script-8e1a2abf6b733220a36c17c88523dad7a2bf6f48.zip
Add HOSTNAME export.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r--install-itzks-workstation1
1 files changed, 1 insertions, 0 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index e492040..1d42853 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -177,6 +177,7 @@ es mw101.intern heißen. [ENTER] '''
# Set hostname
read -p 'Wie lautet der Hostname (ohne Domain)? ' myhost
hostnamectl set-hostname $myhost
+export HOSTNAME=$(myhost)
# To be sure restart the following services
invoke-rc.d rsyslog restart