File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff 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
8290function 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
You can’t perform that action at this time.
0 commit comments