summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/build.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 3278976..a9370f5 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -313,6 +313,9 @@ my $config = {
"systemctl -q enable NetworkManager.service",
"systemctl -q enable NetworkManager-wait-online.service",
"echo 'AUTOSTART=FALSE' > /home/live/.net_applet",
+ # Don't try to get a hostname by reverse DNS - it will most likely fail
+ # and set the hostname to linux.local.
+ "echo 'hostname-mode=dhcp' >> /etc/NetworkManager/NetworkManager.conf",
),
# Fix permissions for copied files.