mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
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
Block a user