centos: 7 使用 qcow2c 镜像

This commit is contained in:
bin456789 2024-10-24 20:58:30 +08:00
parent 1354ee23b0
commit a976efffb7
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -1249,9 +1249,9 @@ Continue with DD?
"centos")
case $releasever in
"7")
# aarch64 需要特殊处理
[ "$basearch" = aarch64 ] && ver=-2211 || ver=
ci_image=$ci_mirror/$releasever/images/CentOS-$releasever-$basearch-GenericCloud$ver.qcow2
# CentOS-7-aarch64-GenericCloud.qcow2c 是旧版本
ver=-2211
ci_image=$ci_mirror/$releasever/images/CentOS-$releasever-$basearch-GenericCloud$ver.qcow2c
;;
"9") ci_image=$ci_mirror/$releasever-stream/$basearch/images/CentOS-Stream-GenericCloud-$releasever-latest.$basearch.qcow2 ;;
esac