From f74d79a27e90f43c25c91dbc63cfc5e1a2699d5c Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Sun, 4 Feb 2024 19:00:41 +0200 Subject: [PATCH] make a "valid" VDDK init image forklift-controller is about to check the validity of the VDDK image by existence of opt/vmware-vix-disklib-distrib/lib64/libvixDiskLib.so and therefore the stub image of VDDK that is used in our tests needs to have it. Signed-off-by: Arik Hadas --- stub-images/vddk-test-vmdk/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stub-images/vddk-test-vmdk/BUILD.bazel b/stub-images/vddk-test-vmdk/BUILD.bazel index e4e40e6..630a300 100644 --- a/stub-images/vddk-test-vmdk/BUILD.bazel +++ b/stub-images/vddk-test-vmdk/BUILD.bazel @@ -23,7 +23,7 @@ container_run_and_extract( container_image( name = "vddk-test-image", - entrypoint = "mkdir -p /opt/testing && cp -f /libvddk-test-plugin.so /opt/testing/libvddk-test-plugin.so && cp -f /cirros.vmdk /opt/testing/nbdtest.img", + entrypoint = "mkdir -p /opt/testing && cp -f /libvddk-test-plugin.so /opt/testing/libvddk-test-plugin.so && cp -f /cirros.vmdk /opt/testing/nbdtest.img && mkdir -p /opt/vmware-vix-disklib-distrib/lib64/ && touch /opt/vmware-vix-disklib-distrib/lib64/libvixDiskLib.so", files = [ ":vddk-test-plugin", "convert_to_vmdk/tmp/cirros.vmdk",