Skip to content

Commit d8bc712

Browse files
committed
add debug info to the download_shim.sh script
Signed-off-by: Vaughn Dice <[email protected]>
1 parent a6643dd commit d8bc712

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

images/downloader/download_shim.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ mkdir -p /assets
2525

2626
# overwrite default name of shim binary; use the name of shim resource instead
2727
# to enable installing multiple versions of the same shim
28-
curl -sL "${SHIM_LOCATION}" | tar --transform "s/containerd-shim-.*/containerd-shim-${SHIM_NAME}/" -xzf - -C /assets
28+
curl -Lo "containerd-shim-${SHIM_NAME}" "${SHIM_LOCATION}"
29+
ls -lah "containerd-shim-${SHIM_NAME}"
30+
log "md5sum: $(md5sum containerd-shim-${SHIM_NAME})"
31+
log "sha256sum: $(sha256sum containerd-shim-${SHIM_NAME})"
32+
33+
tar -xzf "containerd-shim-${SHIM_NAME}" -C /assets
2934
log "download successful:" "INFO"
3035

3136
ls -lah /assets

0 commit comments

Comments
 (0)