mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
nixosTests.hostname: stop using deprecated nodes.machine.config
Module argument `nodes.machine.config` is deprecated.
This commit is contained in:
parent
27eab436bd
commit
5566961d2e
@ -37,7 +37,7 @@ let
|
||||
machine.wait_for_unit("network-online.target")
|
||||
|
||||
# Test if NixOS computes the correct FQDN (either a FQDN or an error/null):
|
||||
assert "${getStr nodes.machine.config.networking.fqdn}" == "${getStr fqdnOrNull}"
|
||||
assert "${getStr nodes.machine.networking.fqdn}" == "${getStr fqdnOrNull}"
|
||||
|
||||
# The FQDN, domain name, and hostname detection should work as expected:
|
||||
assert "${fqdn}" == machine.succeed("hostname --fqdn").strip()
|
||||
|
Loading…
Reference in New Issue
Block a user