k3s/scripts/airgap/generate-list.sh

9 lines
152 B
Bash
Executable File

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