Add `localhost' under its "real" host name to /etc/hosts.
svn path=/nixos/branches/modular-nixos/; revision=16258
This commit is contained in:
parent
a62e1cf2dd
commit
fa9f557b96
|
@ -41,6 +41,9 @@ in
|
|||
source = pkgs.writeText "hosts"
|
||||
''
|
||||
${config.networking.extraHosts}
|
||||
${if config.networking.hostName != ""
|
||||
then "127.0.0.1 ${config.networking.hostName}"
|
||||
else ""}
|
||||
127.0.0.1 localhost
|
||||
'';
|
||||
target = "hosts";
|
||||
|
|
Loading…
Reference in New Issue