Loading nixos/modules/virtualisation/lxd-agent.nix +7 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,13 @@ in { wantedBy = [ "multi-user.target" ]; before = [ "shutdown.target" ]; conflicts = [ "shutdown.target" ]; path = [ pkgs.kmod pkgs.util-linux ]; path = [ pkgs.kmod pkgs.util-linux # allow `incus exec` to find system binaries "/run/current-system/sw" ]; preStart = preStartScript; Loading nixos/tests/incus/virtual-machine.nix +3 −0 Original line number Diff line number Diff line Loading @@ -53,5 +53,8 @@ in with subtest("lxd-agent is started"): machine.succeed("incus exec ${instance-name} systemctl is-active lxd-agent") with subtest("lxd-agent has a valid path"): machine.succeed("incus exec ${instance-name} -- bash -c 'true'") ''; }) Loading
nixos/modules/virtualisation/lxd-agent.nix +7 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,13 @@ in { wantedBy = [ "multi-user.target" ]; before = [ "shutdown.target" ]; conflicts = [ "shutdown.target" ]; path = [ pkgs.kmod pkgs.util-linux ]; path = [ pkgs.kmod pkgs.util-linux # allow `incus exec` to find system binaries "/run/current-system/sw" ]; preStart = preStartScript; Loading
nixos/tests/incus/virtual-machine.nix +3 −0 Original line number Diff line number Diff line Loading @@ -53,5 +53,8 @@ in with subtest("lxd-agent is started"): machine.succeed("incus exec ${instance-name} systemctl is-active lxd-agent") with subtest("lxd-agent has a valid path"): machine.succeed("incus exec ${instance-name} -- bash -c 'true'") ''; })