2024-03-17 18:48:49 +00:00
|
|
|
(import ../lib/container-test.nix) (
|
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
name = "secrets";
|
2023-10-14 13:54:56 +00:00
|
|
|
|
2024-03-17 18:48:49 +00:00
|
|
|
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")
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
)
|