mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
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
|
||||
fi
|
||||
|
||||
# alpine --ci 参数无效
|
||||
if [ "$distro" = alpine ] && is_use_cloud_image; then
|
||||
error_and_exit "can't install alpine with cloud image"
|
||||
fi
|
||||
|
||||
# 检查硬件架构
|
||||
# x86强制使用x64
|
||||
basearch=$(uname -m)
|
||||
|
Loading…
x
Reference in New Issue
Block a user