mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
test: set machines fqdn in /etc/hosts
This commit is contained in:
parent
cb2a447c51
commit
764f16461b
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ rec {
|
|||
(m': let config = (getAttr m' nodes).config; in
|
||||
optionalString (config.networking.primaryIPAddress != "")
|
||||
("${config.networking.primaryIPAddress} " +
|
||||
optionalString (config.networking.domain != null)
|
||||
"${config.networking.hostName}.${config.networking.domain} " +
|
||||
"${config.networking.hostName}\n"));
|
||||
|
||||
virtualisation.qemu.options =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue