Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulianm committed Dec 10, 2024
1 parent c0f5005 commit 96e1ff9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/new-e2e/system-probe/test/micro-vm-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 96e1ff9

Please sign in to comment.