From b08f162204d49c06495911ee64486882ddbdfe7e Mon Sep 17 00:00:00 2001 From: kremlin Date: Mon, 25 Aug 2014 02:07:10 -0500 Subject: [PATCH] if /etc/myname lacks a trailing domain, do not force the default discussed with ajacoutot --- src/interfaces/hostnamed/hostnamed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c index fb17f4f..a320e2e 100644 --- a/src/interfaces/hostnamed/hostnamed.c +++ b/src/interfaces/hostnamed/hostnamed.c @@ -110,7 +110,7 @@ const gchar *server_archs[] = { "sparc64" }; -static const gchar *DEFAULT_DOMAIN = ".home.network"; +static const gchar *DEFAULT_DOMAIN = ""; /* blank domains are OK for now */ static const gchar *OS_HOSTNAME_PATH = "/etc/myname"; static const gchar *OS_CONFIG_PATH = "/etc/machine-info"; -- 2.41.0