From 53ba03d1e5fbf2babffbc4d5b6cf648d6b98c5ff Mon Sep 17 00:00:00 2001 From: yyhuni Date: Thu, 8 Jan 2026 10:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81kali?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/scripts/worker-deploy/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/scripts/worker-deploy/install.sh b/backend/scripts/worker-deploy/install.sh index 8e89eacf..349cbdf1 100644 --- a/backend/scripts/worker-deploy/install.sh +++ b/backend/scripts/worker-deploy/install.sh @@ -2,7 +2,7 @@ # ============================================ # XingRin 远程节点安装脚本 # 用途:安装 Docker 环境 + 预拉取镜像 -# 支持:Ubuntu / Debian +# 支持:Ubuntu / Debian / Kali # # 架构说明: # 1. 安装 Docker 环境 @@ -101,8 +101,8 @@ detect_os() { exit 1 fi - if [[ "$OS" != "ubuntu" && "$OS" != "debian" ]]; then - log_error "仅支持 Ubuntu/Debian 系统" + if [[ "$OS" != "ubuntu" && "$OS" != "debian" && "$OS" != "kali" ]]; then + log_error "仅支持 Ubuntu/Debian/Kali 系统" exit 1 fi }