debian: 强制 debian 10 amd64 使用 generic 云镜像

This commit is contained in:
bin456789 2023-08-03 22:57:15 +08:00
parent 4e85095016
commit 899ced4011
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -234,6 +234,8 @@ setos() {
# cloud image
ci_mirror=https://cloud.debian.org/images/cloud
is_virt && ci_type=genericcloud || ci_type=generic
# 甲骨文 debian 10 amd64 genericcloud vnc 没有显示
[ "$releasever" -eq 10 ] && [ "$basearch_alt" = amd64 ] && ci_type=generic
eval ${step}_img=$ci_mirror/$codename/latest/debian-$releasever-$ci_type-$basearch_alt.qcow2
else
# 传统安装