Let hostname --fqdn find proper hostname

svn path=/nixos/trunk/; revision=30976
This commit is contained in:
Michael Raskin 2011-12-20 12:35:12 +00:00
parent a87a1bca04
commit d06c45ec86

View File

@ -51,7 +51,7 @@ in
'' ''
${cfg.extraHosts} ${cfg.extraHosts}
${optionalString (cfg.hostName != "") ${optionalString (cfg.hostName != "")
"127.0.0.1 ${cfg.hostName} ${hostnameWithDomain}"} "127.0.0.1 ${hostnameWithDomain} ${cfg.hostName}"}
127.0.0.1 localhost ${localhostWithDomain} 127.0.0.1 localhost ${localhostWithDomain}
''; '';
target = "hosts"; target = "hosts";