clan-core/checks/container/default.nix

15 lines
343 B
Nix
Raw Normal View History

2023-10-14 13:54:56 +00:00
(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")
'';
})