Skip to content

Commit

Permalink
make a "valid" VDDK init image
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ahadas committed Feb 4, 2024
1 parent 6bca908 commit f74d79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stub-images/vddk-test-vmdk/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f74d79a

Please sign in to comment.