From 96e1ff93c3e7ad83648f39541edd1e92c36fb126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Julia=CC=81n?= Date: Tue, 10 Dec 2024 15:50:43 +0100 Subject: [PATCH] Another test --- test/new-e2e/system-probe/test/micro-vm-init.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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