mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-12 10:54:22 +01:00
The script points kata-runtime at the generated initrd/image by editing the host config file, which we aren't doing when KATA_DEV_MODE=1 is set, so this won't work. Fixes: #415 Signed-off-by: Cole Robinson <crobinso@redhat.com>
Run the osbuilder tests
osbuilder provides a test script that creates all rootfs disk images and initrd images for all supported distributions and then tests them to ensure a Kata Container can be created with each.
Before the build phase, the test script installs the Docker container manager
and all the Kata components required to run test containers. This step can be
skipped by setting the environment variable KATA_DEV_MODE to a non-empty
value.
$ ./test_images.sh
Further information
The test script provides various options to modify the way it runs. For full details:
$ ./test_images.sh -h