profilesTest/mkHosts: include host's configuration
This commit is contained in:
parent
12b41f2448
commit
832d3bd697
|
@ -90,7 +90,7 @@ let
|
||||||
lib = {
|
lib = {
|
||||||
lib = { inherit specialArgs; };
|
lib = { inherit specialArgs; };
|
||||||
lib.testModule = {
|
lib.testModule = {
|
||||||
imports = builtins.attrValues modules;
|
imports = [ local ] ++ builtins.attrValues modules;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -48,7 +48,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.systemctl("is-system-running --wait")
|
${host.config.networking.hostName}.systemctl("is-system-running --wait")
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue