summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-09-07 15:38:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-09-07 19:24:08 +0000
commit5e2e2ea42dbaafc3127d99e2b4982cf91d5b1cc7 (patch)
treebcda900f23c11162460fd38e79b42d13ef015e21
parentMerging upstream version 20210908. (diff)
downloadopen-infrastructure-service-tools-5e2e2ea42dbaafc3127d99e2b4982cf91d5b1cc7.tar.xz
open-infrastructure-service-tools-5e2e2ea42dbaafc3127d99e2b4982cf91d5b1cc7.zip
If no domain is specified in dehydrated preseeding, do not assume the systems hostname automatically.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/open-infrastructure-dehydrated-tools.postinst2
1 files changed, 0 insertions, 2 deletions
diff --git a/debian/open-infrastructure-dehydrated-tools.postinst b/debian/open-infrastructure-dehydrated-tools.postinst
index 5e8ef42..68b67f7 100755
--- a/debian/open-infrastructure-dehydrated-tools.postinst
+++ b/debian/open-infrastructure-dehydrated-tools.postinst
@@ -234,8 +234,6 @@ EOF
if [ -n "${DOMAINS}" ]
then
echo "${DOMAINS}" > /etc/dehydrated/domains.txt
- else
- cat /etc/hostname > /etc/dehydrated/domains.txt
fi
if [ -n "${TSIG}" ]