From 5e446924f1f2d052fb8abe018c84d79a1ac461c0 Mon Sep 17 00:00:00 2001
From: bin456789 <bin456789@gmail.com>
Date: Fri, 4 Aug 2023 00:04:13 +0800
Subject: [PATCH] =?UTF-8?q?alpine:=20=E4=B8=8D=E5=85=81=E8=AE=B8=E5=AE=89?=
 =?UTF-8?q?=E8=A3=85=20alpine=20=E6=97=B6=E4=BD=BF=E7=94=A8=20--ci?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 reinstall.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/reinstall.sh b/reinstall.sh
index c8f4dce..0e5df42 100644
--- a/reinstall.sh
+++ b/reinstall.sh
@@ -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)