if /etc/myname lacks a trailing domain, do not force the default
authorkremlin <kremlin@juliana.kremlin.cc>
Mon, 25 Aug 2014 07:07:10 +0000 (02:07 -0500)
committerkremlin <kremlin@juliana.kremlin.cc>
Mon, 25 Aug 2014 07:07:10 +0000 (02:07 -0500)
discussed with ajacoutot

src/interfaces/hostnamed/hostnamed.c

index fb17f4f80a764aaf4d69fa2d2097cd31bd783e7c..a320e2e6d53ab10008b47c5628a91fd6229de1be 100644 (file)
@@ -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";