arch: 无需添加 --ci 参数

This commit is contained in:
bin456789 2023-08-01 22:27:13 +08:00
parent 5bfe2cd4a1
commit ff553e1170
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -292,7 +292,8 @@ setos() {
} }
setos_arch() { setos_arch() {
if is_use_cloud_image; then cloud_image=1
# cloud image # cloud image
if is_in_china; then if is_in_china; then
ci_mirror=https://mirrors.tuna.tsinghua.edu.cn/archlinux ci_mirror=https://mirrors.tuna.tsinghua.edu.cn/archlinux
@ -301,10 +302,6 @@ setos() {
fi fi
# eval ${step}_img=$ci_mirror/images/latest/Arch-Linux-x86_64-basic.qcow2 # eval ${step}_img=$ci_mirror/images/latest/Arch-Linux-x86_64-basic.qcow2
eval ${step}_img=$ci_mirror/images/latest/Arch-Linux-x86_64-cloudimg.qcow2 eval ${step}_img=$ci_mirror/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
else
# 先略过
error_and_exit 'not support without --ci'
fi
} }
setos_opensuse() { setos_opensuse() {