Merge #261
261: profilesTest/mkHosts: include host's configuration r=blaggacao a=Pacman99 Now that profiles test is done dynamically - first available host - we likely need to include the host configuration itself. I have profiles that depend on the domain being set, which how I ran into this, and I think other problems might occur if we don't include the full host in the profiles test. targeting core, since its a small bug fix and was planned to make into a release. Co-authored-by: Pacman99 <pachum99@gmail.com>
This commit is contained in:
commit
82b73cf63a
@ -90,7 +90,7 @@ let
|
||||
lib = {
|
||||
lib = { inherit specialArgs; };
|
||||
lib.testModule = {
|
||||
imports = builtins.attrValues modules;
|
||||
imports = [ local ] ++ builtins.attrValues modules;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
@ -48,7 +48,7 @@ let
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.systemctl("is-system-running --wait")
|
||||
${host.config.networking.hostName}.systemctl("is-system-running --wait")
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user