diff --git a/.gitleaksignore b/.gitleaksignore new file mode 100644 index 0000000..e69de29 diff --git a/scripts/import.sh b/scripts/import.sh index e6dae73..799a2fa 100755 --- a/scripts/import.sh +++ b/scripts/import.sh @@ -1,7 +1,8 @@ +#!/bin/sh set -x CONTENT_PATH=$1 mkdir -p /var/lib/rancher/k3s/agent/images -for tarfile in $(find $CONTENT_PATH -name "*.tar" -type f) -do + +find -L "$CONTENT_PATH" -name "*.tar" -type f | while read -r tarfile; do cp $tarfile /var/lib/rancher/k3s/agent/images done \ No newline at end of file