diff --git a/test/new-e2e/system-probe/test/micro-vm-init.sh b/test/new-e2e/system-probe/test/micro-vm-init.sh index 0371bb874a164..b5c79ca6db769 100755 --- a/test/new-e2e/system-probe/test/micro-vm-init.sh +++ b/test/new-e2e/system-probe/test/micro-vm-init.sh @@ -2,7 +2,9 @@ set -eEuxo pipefail runner_config=$@ -docker_dir=/kmt-dockers +docker_dir=/kmt-dockers/src + +find "${docker_dir}" -type f ls -lahR $docker_dir @@ -11,8 +13,10 @@ ls -lahR $docker_dir systemctl start docker ## Load docker images if [[ -d "${docker_dir}" ]]; then - find "${docker_dir}" -maxdepth 1 -type f -exec /bin/bash -c "echo loading image {} && docker import {}" \; + find "${docker_dir}" -name "*.tar*" -type f -exec /bin/bash -c "echo loading image {} && docker load -i {}" \; fi + +docker images # VM provisioning end ! # Copy BTF files. This is a patch for different paths between agent 6 branch code and agent 7 KMT images