Files
clan-core/checks/container/default.nix
2024-09-09 15:51:31 +02:00

21 lines
394 B
Nix

(import ../lib/container-test.nix) (
{ ... }:
{
name = "secrets";
nodes.machine =
{ ... }:
{
networking.hostName = "machine";
services.openssh.enable = true;
services.openssh.startWhenNeeded = false;
};
testScript = ''
start_all()
machine.succeed("systemctl status sshd")
machine.wait_for_unit("sshd")
'';
}
)