Skip to content

Commit

Permalink
Fix path for docker image search
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulianm committed Dec 11, 2024
1 parent d74e260 commit 91e530e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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,15 +2,17 @@
set -eEuxo pipefail

runner_config=$@
docker_dir=/kmt-dockers
docker_dir=/kmt-dockers/src

# Add provisioning steps here !
## Start docker
systemctl start docker
## Load docker images
if [[ -d "${docker_dir}" ]]; then
find "${docker_dir}" -maxdepth 1 -type f -exec docker load -i {} \;
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 91e530e

Please sign in to comment.