mirror of
https://github.com/bin456789/reinstall.git
synced 2025-02-07 22:10:07 +08:00
arch: 无需添加 --ci 参数
This commit is contained in:
parent
5bfe2cd4a1
commit
ff553e1170
19
reinstall.sh
19
reinstall.sh
@ -292,19 +292,16 @@ setos() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setos_arch() {
|
setos_arch() {
|
||||||
if is_use_cloud_image; then
|
cloud_image=1
|
||||||
# cloud image
|
|
||||||
if is_in_china; then
|
# cloud image
|
||||||
ci_mirror=https://mirrors.tuna.tsinghua.edu.cn/archlinux
|
if is_in_china; then
|
||||||
else
|
ci_mirror=https://mirrors.tuna.tsinghua.edu.cn/archlinux
|
||||||
ci_mirror=https://geo.mirror.pkgbuild.com
|
|
||||||
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-cloudimg.qcow2
|
|
||||||
else
|
else
|
||||||
# 先略过
|
ci_mirror=https://geo.mirror.pkgbuild.com
|
||||||
error_and_exit 'not support without --ci'
|
|
||||||
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-cloudimg.qcow2
|
||||||
}
|
}
|
||||||
|
|
||||||
setos_opensuse() {
|
setos_opensuse() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user