mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Merge pull request #51661 from eonpatapon/testing-hosts
test: set machines fqdn in /etc/hosts
This commit is contained in:
commit
497e6f1705
@ -83,6 +83,8 @@ rec {
|
|||||||
(m': let config = (getAttr m' nodes).config; in
|
(m': let config = (getAttr m' nodes).config; in
|
||||||
optionalString (config.networking.primaryIPAddress != "")
|
optionalString (config.networking.primaryIPAddress != "")
|
||||||
("${config.networking.primaryIPAddress} " +
|
("${config.networking.primaryIPAddress} " +
|
||||||
|
optionalString (config.networking.domain != null)
|
||||||
|
"${config.networking.hostName}.${config.networking.domain} " +
|
||||||
"${config.networking.hostName}\n"));
|
"${config.networking.hostName}\n"));
|
||||||
|
|
||||||
virtualisation.qemu.options =
|
virtualisation.qemu.options =
|
||||||
|
Loading…
Reference in New Issue
Block a user