From 38a5cc3940f211d410474c7f68234ea2cb741be5 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Wed, 3 Sep 2025 19:36:08 +0800 Subject: [PATCH] =?UTF-8?q?opencloudos:=20=E4=BF=AE=E5=A4=8D=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E9=93=BE=E6=8E=A5=E5=8F=98=E5=8A=A8=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=20404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reinstall.sh b/reinstall.sh index e2b5aa0..c1766d3 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -1741,7 +1741,12 @@ Continue with DD? if is_use_cloud_image; then # ci - dir=$releasever/images/$basearch + if [ "$releasever" -eq 9 ]; then + dir=$releasever/images/qcow2/$basearch + else + dir=$releasever/images/$basearch + fi + file=$(curl -L $mirror/$dir/ | grep -oP 'OpenCloudOS.*?\.qcow2' | sort -uV | tail -1 | grep .) eval ${step}_img=$mirror/$dir/$file