k3s/scripts/airgap/generate-list.sh

9 lines
152 B
Bash
Raw Normal View History

#!/bin/bash
set -e -x
cd $(dirname $0)
k3s crictl images -o json \
| jq -r '.images[].repoTags[0] | select(. != null)' \
| tee image-list.txt