From 056b6a1f408bdcd697ae4a8653eee31220f9f15f Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 28 Aug 2024 08:56:00 -0400 Subject: [PATCH] nixos/tests/lxd: fix squashfs container import --- nixos/tests/lxd/container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/lxd/container.nix b/nixos/tests/lxd/container.nix index 26dcad2f97a7..c04ae42afb8c 100644 --- a/nixos/tests/lxd/container.nix +++ b/nixos/tests/lxd/container.nix @@ -64,7 +64,7 @@ in { with subtest("Squashfs image is functional"): machine.succeed( - "lxc image import ${lxd-image-metadata}/*/*.tar.xz ${lxd-image-rootfs-squashfs} --alias nixos-squashfs" + "lxc image import ${lxd-image-metadata}/*/*.tar.xz ${lxd-image-rootfs-squashfs}/nixos-lxc-image-${pkgs.stdenv.hostPlatform.system}.squashfs --alias nixos-squashfs" ) machine.succeed("lxc launch nixos-squashfs container") with machine.nested("Waiting for instance to start and be usable"):