Skip to content

Commit 9da624b

Browse files
authored
Merge branch 'kubean-io:main' into main
2 parents 28dd134 + fa32b0f commit 9da624b

File tree

4 files changed

+354
-78
lines changed

4 files changed

+354
-78
lines changed

artifacts/import_iso.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,18 @@ function iso_os_version_arch() {
5555
echo "/centos-iso/7/os/x86_64"
5656
return
5757
fi
58+
if echo "$path" | grep 'el7.aarch64.rpm' >/dev/null 2>&1; then
59+
echo "/centos-iso/7/os/aarch64"
60+
return
61+
fi
5862
if echo "$path" | grep 'el8.x86_64.rpm' >/dev/null 2>&1; then
5963
echo "/centos-iso/8/os/x86_64"
6064
return
6165
fi
66+
if echo "$path" | grep 'el8.aarch64.rpm' >/dev/null 2>&1; then
67+
echo "/centos-iso/8/os/aarch64"
68+
return
69+
fi
6270
fi
6371
done
6472
echo "not support $ISO_IMG_FILE , can not find os and arch info"
@@ -80,6 +88,7 @@ function mount_iso_file() {
8088
}
8189

8290
function import_iso_data() {
91+
echo "start push ISO data into minio"
8392
Minio_Server_PATH=$(iso_os_version_arch)
8493

8594
if [ -z "$Minio_Server_PATH" ]; then

0 commit comments

Comments
 (0)