diff --git a/deploy/proxmox-install.sh b/deploy/proxmox-install.sh index 8b09b71..78cb332 100644 --- a/deploy/proxmox-install.sh +++ b/deploy/proxmox-install.sh @@ -39,9 +39,14 @@ tmp="$(mktemp -d)" trap 'rm -rf "${tmp}"' EXIT echo "==> fetching bundle (${VETTING_VERSION}) from ${BUNDLE_URL}" -curl -fsSL "${BUNDLE_URL}" -o "${tmp}/vetting-bundle.tar.gz" +# --progress-bar (not -s) so the operator sees a live indicator — +# bundles are ~30 MB and the registry can be slow on a cold run, and +# a silent 5 s has tricked us into Ctrl-C'ing mid-download before. +# -f keeps fail-on-HTTP-error; -L still follows redirects. +curl -fL --progress-bar "${BUNDLE_URL}" -o "${tmp}/vetting-bundle.tar.gz" -echo "==> extracting" +bundle_size="$(du -h "${tmp}/vetting-bundle.tar.gz" | cut -f1)" +echo "==> extracting (${bundle_size})" tar -C "${tmp}" -xzf "${tmp}/vetting-bundle.tar.gz" # Bundle extracts to vetting-bundle-/; glob-match the single