mirror of
https://github.com/kairos-io/provider-k3s.git
synced 2025-10-20 21:18:38 +00:00
fix: make import.sh POSIX compatiable (#115)
This commit is contained in:
0
.gitleaksignore
Normal file
0
.gitleaksignore
Normal file
@@ -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
|
Reference in New Issue
Block a user