alpine: 不允许安装 alpine 时使用 --ci
This commit is contained in:
parent
52473bd5d0
commit
5e446924f1
@ -761,6 +761,11 @@ if ! (is_use_cloud_image || is_use_dd); then
|
|||||||
check_ram
|
check_ram
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# alpine --ci 参数无效
|
||||||
|
if [ "$distro" = alpine ] && is_use_cloud_image; then
|
||||||
|
error_and_exit "can't install alpine with cloud image"
|
||||||
|
fi
|
||||||
|
|
||||||
# 检查硬件架构
|
# 检查硬件架构
|
||||||
# x86强制使用x64
|
# x86强制使用x64
|
||||||
basearch=$(uname -m)
|
basearch=$(uname -m)
|
||||||
|
Loading…
Reference in New Issue
Block a user