From 091402cc726c6c85721ea642c735b39ff9a0eb0f Mon Sep 17 00:00:00 2001 From: Altan Orhon Date: Fri, 27 Oct 2023 19:05:05 -0700 Subject: [PATCH] Preloading oras://ghcr.io images via CURL --- hyakvnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyakvnc b/hyakvnc index 3bc4484..dd3c76a 100755 --- a/hyakvnc +++ b/hyakvnc @@ -1073,7 +1073,7 @@ function cmd_create { # Preload ORAS images if requested: if [[ "${HYAKVNC_APPTAINER_GHCR_ORAS_PRELOAD:-1}" == 1 ]]; then local oras_image_path oras_cache_dir - oras_cache_dir="${APPTAINER_CACHEDIR:-${HOME}/.apptainer/cache}/oras" + oras_cache_dir="${APPTAINER_CACHEDIR:-${HOME}/.apptainer/cache}/cache/oras" if mkdir -p "${oras_cache_dir}"; then log INFO "Preloading ORAS image for \"${HYAKVNC_APPTAINER_CONTAINER}\"" oras_image_path="$(ghcr_get_oras_sif "${HYAKVNC_APPTAINER_CONTAINER}" "${APPTAINER_CACHEDIR}/oras" || true)"