Let hostname --fqdn find proper hostname
svn path=/nixos/trunk/; revision=30976
This commit is contained in:
parent
a87a1bca04
commit
d06c45ec86
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue