mirror of
https://github.com/kairos-io/provider-k3s.git
synced 2025-10-21 21:49:02 +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
|
set -x
|
||||||
CONTENT_PATH=$1
|
CONTENT_PATH=$1
|
||||||
mkdir -p /var/lib/rancher/k3s/agent/images
|
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
|
cp $tarfile /var/lib/rancher/k3s/agent/images
|
||||||
done
|
done
|
Reference in New Issue
Block a user