summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-09-17 17:24:20 +0200
committerJonathan Bauer2020-09-17 17:24:20 +0200
commited456f7fdb3e435a63fbf8f60b5c63fa93116676 (patch)
tree9fae221e496070d42908d53a6bd8fb083e2f07db
parent[slx-dmsetup] simplier random dm-crypt key generation (diff)
downloadsystemd-init-ed456f7fdb3e435a63fbf8f60b5c63fa93116676.tar.gz
systemd-init-ed456f7fdb3e435a63fbf8f60b5c63fa93116676.tar.xz
systemd-init-ed456f7fdb3e435a63fbf8f60b5c63fa93116676.zip
[slx-network] do not generate 127.0.1.1 entry in /etc/hosts
it breaks lookups on CentOS/NEMO. Need to check if *not* creating that entry breaks something else somewhere else...
-rwxr-xr-xmodules.d/slx-network/scripts/udhcpc-trigger.stage32
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-network/scripts/udhcpc-trigger.stage3 b/modules.d/slx-network/scripts/udhcpc-trigger.stage3
index 6c357138..afac2027 100755
--- a/modules.d/slx-network/scripts/udhcpc-trigger.stage3
+++ b/modules.d/slx-network/scripts/udhcpc-trigger.stage3
@@ -141,7 +141,7 @@ if [ -n "$hostname" ]; then
echo "$hostname" > "/proc/sys/kernel/hostname"
echo "$hostname" > "/etc/hostname"
echo "127.0.0.1 localhost" > "/etc/hosts"
- echo "127.0.1.1 $fqdn $hostname" >> "/etc/hosts"
+# echo "127.0.1.1 $fqdn $hostname" >> "/etc/hosts"
echo "SLX_HOSTNAME='$hostname'" >> "$NETWORK_CONF"
fi