From 4ebe5aea18d256083668e8bbeea88231e0db0b19 Mon Sep 17 00:00:00 2001 From: ylzhangah <1194926515@qq.com> Date: Sat, 11 Oct 2025 14:55:43 +0800 Subject: [PATCH 1/2] update file --- deploy/scripts/deploy.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/deploy/scripts/deploy.sh b/deploy/scripts/deploy.sh index 2775d81f7..116f57c60 100755 --- a/deploy/scripts/deploy.sh +++ b/deploy/scripts/deploy.sh @@ -26,7 +26,6 @@ check_kubectl() { fi # 检查是否能连接到 Kubernetes 集群 - echo -e "${COLOR_BLUE}==> 检查 kubectl 集群连接...${COLOR_NC}" if ! kubectl cluster-info &> /dev/null; then if [[ "$LANGUAGE" == "zh" ]]; then echo -e "${COLOR_RED}错误:无法连接到 Kubernetes 集群!${COLOR_NC}" @@ -268,7 +267,6 @@ run_script_with_check() { fi # 执行脚本并捕获输出 - echo -e "${COLOR_BLUE}执行脚本输出:${COLOR_NC}" local exit_code=0 "$localized_script" 2>&1 | while IFS= read -r line; do echo "$line" -- Gitee From 780c88e2293f5cf8f7f11434302344adcdc10dc9 Mon Sep 17 00:00:00 2001 From: ylzhangah <1194926515@qq.com> Date: Sat, 11 Oct 2025 16:11:09 +0800 Subject: [PATCH 2/2] fix some name errors in scipts --- .../0-one-click-deploy/one-click-deploy_en.sh | 30 +++++++++---------- .../0-one-click-deploy/one-click-deploy_zh.sh | 28 ++++++++--------- .../7-install-authhub/install_authhub_en.sh | 2 +- .../7-install-authhub/install_authhub_zh.sh | 2 +- .../install_intelligence_en.sh} | 24 +++++++-------- .../install_intelligence_zh.sh} | 24 +++++++-------- .../get_client_id_and_secret.py | 1 + deploy/scripts/9-other-script/save_images.sh | 2 +- deploy/scripts/deploy.sh | 8 ++--- 9 files changed, 61 insertions(+), 60 deletions(-) rename deploy/scripts/{8-install-EulerCopilot/install_eulercopilot_en.sh => 8-install-intelligence/install_intelligence_en.sh} (94%) rename deploy/scripts/{8-install-EulerCopilot/install_eulercopilot_zh.sh => 8-install-intelligence/install_intelligence_zh.sh} (94%) diff --git a/deploy/scripts/0-one-click-deploy/one-click-deploy_en.sh b/deploy/scripts/0-one-click-deploy/one-click-deploy_en.sh index f44178e41..89060dd19 100755 --- a/deploy/scripts/0-one-click-deploy/one-click-deploy_en.sh +++ b/deploy/scripts/0-one-click-deploy/one-click-deploy_en.sh @@ -59,13 +59,13 @@ parse_arguments() { prompt_for_addresses() { # If eulercopilot_address not provided via command line, prompt user if [ -z "$eulercopilot_address" ]; then - echo -e "${YELLOW}EulerCopilot address not provided${RESET}" - read -p "$(echo -e "${CYAN}Enter EulerCopilot address (e.g., http://myhost:30080): ${RESET}")" eulercopilot_address + echo -e "${YELLOW}openEuler Intelligence address not provided${RESET}" + read -p "$(echo -e "${CYAN}Enter openEuler Intelligence address (e.g., http://myhost:30080): ${RESET}")" eulercopilot_address # Validate input not empty while [ -z "$eulercopilot_address" ]; do - echo -e "${RED}Error: EulerCopilot address cannot be empty${RESET}" - read -p "$(echo -e "${CYAN}Enter EulerCopilot address (e.g., http://myhost:30080): ${RESET}")" eulercopilot_address + echo -e "${RED}Error: openEuler Intelligence address cannot be empty${RESET}" + read -p "$(echo -e "${CYAN}Enter openEuler Intelligence address (e.g., http://myhost:30080): ${RESET}")" eulercopilot_address done fi @@ -220,10 +220,10 @@ uninstall_all() { show_header() { clear echo -e "\n${BOLD}${MAGENTA}$(printf '✧%.0s' $(seq 1 $(tput cols)))${RESET}" - echo -e "${BOLD}${WHITE} Euler Copilot One-Click Deployment System ${RESET}" + echo -e "${BOLD}${WHITE} openEuler Intelligence One-Click Deployment System ${RESET}" echo -e "${BOLD}${MAGENTA}$(printf '✧%.0s' $(seq 1 $(tput cols)))${RESET}" echo -e "${CYAN}◈ Main directory: ${YELLOW}${MAIN_DIR}${RESET}" - echo -e "${CYAN}◈ EulerCopilot address: ${YELLOW}${eulercopilot_address:-Not set}${RESET}" + echo -e "${CYAN}◈ openEuler Intelligence address: ${YELLOW}${eulercopilot_address:-Not set}${RESET}" echo -e "${CYAN}◈ Authhub address: ${YELLOW}${authhub_address:-Not set}${RESET}\n" } @@ -234,14 +234,14 @@ start_deployment() { # Step configuration (script_path script_name auto_input extra_args_array) local steps=( - "../1-check-env/check_env.sh Environment check false" + "../1-check-env/check_env_en.sh Environment check false" "_conditional_tools_step Basic tools installation(k3s+helm) true" - "../3-install-ollama/install_ollama.sh Ollama deployment true" - "../4-deploy-deepseek/deploy_deepseek.sh Deepseek model deployment false" - "../5-deploy-embedding/deploy-embedding.sh Embedding service deployment false" - "../6-install-databases/install_databases.sh Database cluster deployment false" - "../7-install-authhub/install_authhub.sh Authhub deployment true --authhub_address ${authhub_address}" - "_conditional_eulercopilot_step EulerCopilot deployment true" + "../3-install-ollama/install_ollama_en.sh Ollama deployment true" + "../4-deploy-deepseek/deploy_deepseek_en.sh Deepseek model deployment false" + "../5-deploy-embedding/deploy-embedding_en.sh Embedding service deployment false" + "../6-install-databases/install_databases_en.sh Database cluster deployment false" + "../7-install-authhub/install_authhub_en.sh Authhub deployment true --authhub_address ${authhub_address}" + "_conditional_eulercopilot_step openEuler Intelligence deployment true" ) for step in "${steps[@]}"; do @@ -272,7 +272,7 @@ handle_tools_step() { echo -e "${CYAN}🠖 k3s and helm detected, performing environment cleanup...${RESET}" uninstall_all else - run_script_with_check "../2-install-tools/install_tools.sh" "Basic tools installation" $current_step true + run_script_with_check "../2-install-tools/install_tools_en.sh" "Basic tools installation" $current_step true fi } @@ -284,7 +284,7 @@ handle_eulercopilot_step() { [ -n "$authhub_address" ] && extra_args+=(--authhub_address "$authhub_address") [ -n "$eulercopilot_address" ] && extra_args+=(--eulercopilot_address "$eulercopilot_address") - run_script_with_check "../8-install-EulerCopilot/install_eulercopilot.sh" "EulerCopilot deployment" $current_step true "${extra_args[@]}" + run_script_with_check "../8-install-intelligence/install_intelligence_en.sh" "openEuler Intelligence deployment" $current_step true "${extra_args[@]}" } # Main execution flow diff --git a/deploy/scripts/0-one-click-deploy/one-click-deploy_zh.sh b/deploy/scripts/0-one-click-deploy/one-click-deploy_zh.sh index 9e7ff827b..3e62db552 100755 --- a/deploy/scripts/0-one-click-deploy/one-click-deploy_zh.sh +++ b/deploy/scripts/0-one-click-deploy/one-click-deploy_zh.sh @@ -59,13 +59,13 @@ parse_arguments() { prompt_for_addresses() { # 如果未通过命令行参数提供eulercopilot_address,则提示用户输入 if [ -z "$eulercopilot_address" ]; then - echo -e "${YELLOW}未提供 EulerCopilot 访问地址${RESET}" - read -p "$(echo -e "${CYAN}请输入 EulerCopilot 访问地址 (格式如: http://myhost:30080): ${RESET}")" eulercopilot_address + echo -e "${YELLOW}未提供 openEuler Intelligence 访问地址${RESET}" + read -p "$(echo -e "${CYAN}请输入 openEuler Intelligence 访问地址 (格式如: http://myhost:30080): ${RESET}")" eulercopilot_address # 验证输入是否为空 while [ -z "$eulercopilot_address" ]; do - echo -e "${RED}错误: EulerCopilot 访问地址不能为空${RESET}" - read -p "$(echo -e "${CYAN}请输入 EulerCopilot 访问地址 (格式如: http://myhost:30080): ${RESET}")" eulercopilot_address + echo -e "${RED}错误: openEuler Intelligence 访问地址不能为空${RESET}" + read -p "$(echo -e "${CYAN}请输入 openEuler Intelligence 访问地址 (格式如: http://myhost:30080): ${RESET}")" eulercopilot_address done fi @@ -223,7 +223,7 @@ show_header() { echo -e "${BOLD}${WHITE} Euler Copilot 一键部署系统 ${RESET}" echo -e "${BOLD}${MAGENTA}$(printf '✧%.0s' $(seq 1 $(tput cols)))${RESET}" echo -e "${CYAN}◈ 主工作目录:${YELLOW}${MAIN_DIR}${RESET}" - echo -e "${CYAN}◈ EulerCopilot地址:${YELLOW}${eulercopilot_address:-未设置}${RESET}" + echo -e "${CYAN}◈ openEuler Intelligence地址:${YELLOW}${eulercopilot_address:-未设置}${RESET}" echo -e "${CYAN}◈ Authhub地址:${YELLOW}${authhub_address:-未设置}${RESET}\n" } # 修改后的start_deployment函数中的步骤配置 @@ -233,14 +233,14 @@ start_deployment() { # 步骤配置(脚本路径 脚本名称 自动输入 额外参数数组) local steps=( - "../1-check-env/check_env.sh 环境检查 false" + "../1-check-env/check_env_zh.sh 环境检查 false" "_conditional_tools_step 基础工具安装(k3s+helm) true" - "../3-install-ollama/install_ollama.sh Ollama部署 true" - "../4-deploy-deepseek/deploy_deepseek.sh Deepseek模型部署 false" - "../5-deploy-embedding/deploy-embedding.sh Embedding服务部署 false" - "../6-install-databases/install_databases.sh 数据库集群部署 false" - "../7-install-authhub/install_authhub.sh Authhub部署 true --authhub_address ${authhub_address}" - "_conditional_eulercopilot_step EulerCopilot部署 true" + "../3-install-ollama/install_ollama_zh.sh Ollama部署 true" + "../4-deploy-deepseek/deploy_deepseek_zh.sh Deepseek模型部署 false" + "../5-deploy-embedding/deploy-embedding_zh.sh Embedding服务部署 false" + "../6-install-databases/install_databases_zh.sh 数据库集群部署 false" + "../7-install-authhub/install_authhub_zh.sh Authhub部署 true --authhub_address ${authhub_address}" + "_conditional_eulercopilot_step openEuler Intelligence部署 true" ) for step in "${steps[@]}"; do @@ -271,7 +271,7 @@ handle_tools_step() { echo -e "${CYAN}🠖 检测到已安装 k3s 和 helm,执行环境清理...${RESET}" uninstall_all else - run_script_with_check "../2-install-tools/install_tools.sh" "基础工具安装" $current_step true + run_script_with_check "../2-install-tools/install_tools_zh.sh" "基础工具安装" $current_step true fi } @@ -283,7 +283,7 @@ handle_eulercopilot_step() { [ -n "$authhub_address" ] && extra_args+=(--authhub_address "$authhub_address") [ -n "$eulercopilot_address" ] && extra_args+=(--eulercopilot_address "$eulercopilot_address") - run_script_with_check "../8-install-EulerCopilot/install_eulercopilot.sh" "EulerCopilot部署" $current_step true "${extra_args[@]}" + run_script_with_check "../8-install-intelligence/install_intelligence_zh.sh" "openEuler Intelligence部署" $current_step true "${extra_args[@]}" } # 主执行流程 diff --git a/deploy/scripts/7-install-authhub/install_authhub_en.sh b/deploy/scripts/7-install-authhub/install_authhub_en.sh index 9ccfb805d..899065b27 100755 --- a/deploy/scripts/7-install-authhub/install_authhub_en.sh +++ b/deploy/scripts/7-install-authhub/install_authhub_en.sh @@ -106,7 +106,7 @@ uninstall_authhub() { get_authhub_address() { local default_address="http://127.0.0.1:30081" - echo -e "${BLUE}Enter Authhub access address (IP or domain)${NC}" + echo -e "${BLUE}Enter Authhub access address (e.g., http://\$IP:30081):${NC}" read -p "Authhub address: " authhub_address # Handle empty input diff --git a/deploy/scripts/7-install-authhub/install_authhub_zh.sh b/deploy/scripts/7-install-authhub/install_authhub_zh.sh index 5c8d26a7c..1325973c2 100755 --- a/deploy/scripts/7-install-authhub/install_authhub_zh.sh +++ b/deploy/scripts/7-install-authhub/install_authhub_zh.sh @@ -106,7 +106,7 @@ uninstall_authhub() { get_authhub_address() { local default_address="http://127.0.0.1:30081" - echo -e "${BLUE}请输入 Authhub 的访问地址(IP或域名,直接回车使用默认值 ${default_address}):${NC}" + echo -e "${BLUE}请输入 Authhub 的访问地址(e.g., http://\$IP:30081):${NC}" read -p "Authhub 地址: " authhub_address # 处理空输入情况 diff --git a/deploy/scripts/8-install-EulerCopilot/install_eulercopilot_en.sh b/deploy/scripts/8-install-intelligence/install_intelligence_en.sh similarity index 94% rename from deploy/scripts/8-install-EulerCopilot/install_eulercopilot_en.sh rename to deploy/scripts/8-install-intelligence/install_intelligence_en.sh index 5095d1f77..31484e032 100755 --- a/deploy/scripts/8-install-EulerCopilot/install_eulercopilot_en.sh +++ b/deploy/scripts/8-install-intelligence/install_intelligence_en.sh @@ -33,7 +33,7 @@ show_help() { echo -e "${GREEN}Usage: $0 [options]" echo -e "Options:" echo -e " --help Show this help message" - echo -e " --eulercopilot_address Specify EulerCopilot frontend access URL" + echo -e " --eulercopilot_address Specify openEuler Intelligence frontend access URL" echo -e " --authhub_address Specify Authhub frontend access URL" echo -e "" echo -e "Example:" @@ -132,7 +132,7 @@ get_address_input() { # If addresses already provided via command line, use them directly if [ -n "$eulercopilot_address" ] && [ -n "$authhub_address" ]; then echo -e "${GREEN}Using command line parameters:" - echo "EulerCopilot address: $eulercopilot_address" + echo "openEuler Intelligence address: $eulercopilot_address" echo "Authhub address: $authhub_address" return fi @@ -143,17 +143,17 @@ get_address_input() { # Non-interactive mode uses defaults directly if [ -t 0 ]; then # Only show prompts in interactive terminal - echo -e "${BLUE}Enter EulerCopilot frontend access URL (default: $eulercopilot_address):${NC}" + echo -e "${BLUE}Enter openEuler Intelligence frontend access URL (e.g., http://\$IP:30080):${NC}" read -p "> " input_euler [ -n "$input_euler" ] && eulercopilot_address=$input_euler - echo -e "${BLUE}Enter Authhub frontend access URL (default: $authhub_address):${NC}" + echo -e "${BLUE}Enter Authhub frontend access URL (e.g., http://\$IP:30081):${NC}" read -p "> " input_auth [ -n "$input_auth" ] && authhub_address=$input_auth fi echo -e "${GREEN}Using configuration:" - echo "EulerCopilot address: $eulercopilot_address" + echo "openEuler Intelligence address: $eulercopilot_address" echo "Authhub address: $authhub_address" } @@ -245,7 +245,7 @@ check_directories() { } uninstall_eulercopilot() { - echo -e "${YELLOW}Checking if EulerCopilot is already deployed...${NC}" >&2 + echo -e "${YELLOW}Checking if openEuler Intelligence is already deployed...${NC}" >&2 # Delete Helm Release: euler-copilot if helm list -n euler-copilot --short | grep -q '^euler-copilot$'; then @@ -351,14 +351,14 @@ pre_install_checks() { # Execute installation execute_helm_install() { local arch=$1 - echo -e "${BLUE}Starting EulerCopilot deployment (architecture: $arch)...${NC}" >&2 + echo -e "${BLUE}Starting openEuler Intelligence deployment (architecture: $arch)...${NC}" >&2 enter_chart_directory helm upgrade --install $NAMESPACE -n $NAMESPACE ./euler_copilot --set globals.arch=$arch --create-namespace || { - echo -e "${RED}Helm installation of EulerCopilot failed!${NC}" >&2 + echo -e "${RED}Helm installation of openEuler Intelligence failed!${NC}" >&2 exit 1 } - echo -e "${GREEN}Helm installation of EulerCopilot successful!${NC}" >&2 + echo -e "${GREEN}Helm installation of openEuler Intelligence successful!${NC}" >&2 } # Check pod status @@ -424,8 +424,8 @@ main() { echo -e "${YELLOW}Keep existing model configuration?${NC}" echo -e " ${BLUE}Y) Keep existing configuration${NC}" echo -e " ${BLUE}n) Use default configuration${NC}" + read -p "Please choose (Y/N): " input_preserve while true; do - read -p "Please choose (Y/N): " input_preserve case "${input_preserve:-Y}" in [YyNn]) preserve_models=${input_preserve:-Y}; break ;; *) echo -e "${RED}Invalid input, please choose Y or n${NC}" ;; @@ -455,11 +455,11 @@ show_success_message() { local arch=$2 echo -e "\n${GREEN}==================================================${NC}" - echo -e "${GREEN} EulerCopilot Deployment Completed! ${NC}" + echo -e "${GREEN} openEuler Intelligence Deployment Completed! ${NC}" echo -e "${GREEN}==================================================${NC}" echo -e "${YELLOW}Access Information:${NC}" - echo -e "EulerCopilot UI: ${eulercopilot_address}" + echo -e "openEuler Intelligence UI: ${eulercopilot_address}" echo -e "AuthHub Admin UI: ${authhub_address}" echo -e "\n${YELLOW}System Information:${NC}" diff --git a/deploy/scripts/8-install-EulerCopilot/install_eulercopilot_zh.sh b/deploy/scripts/8-install-intelligence/install_intelligence_zh.sh similarity index 94% rename from deploy/scripts/8-install-EulerCopilot/install_eulercopilot_zh.sh rename to deploy/scripts/8-install-intelligence/install_intelligence_zh.sh index 2478656b4..169d9ee0f 100755 --- a/deploy/scripts/8-install-EulerCopilot/install_eulercopilot_zh.sh +++ b/deploy/scripts/8-install-intelligence/install_intelligence_zh.sh @@ -33,7 +33,7 @@ show_help() { echo -e "${GREEN}用法: $0 [选项]" echo -e "选项:" echo -e " --help 显示此帮助信息" - echo -e " --eulercopilot_address 指定EulerCopilot前端访问URL" + echo -e " --eulercopilot_address 指定openEuler Intelligence前端访问URL" echo -e " --authhub_address 指定Authhub前端访问URL" echo -e "" echo -e "示例:" @@ -132,7 +132,7 @@ get_address_input() { # 如果命令行参数已经提供了地址,则直接使用,不进行交互式输入 if [ -n "$eulercopilot_address" ] && [ -n "$authhub_address" ]; then echo -e "${GREEN}使用命令行参数配置:" - echo "EulerCopilot地址: $eulercopilot_address" + echo "openEuler Intelligence地址: $eulercopilot_address" echo "Authhub地址: $authhub_address" return fi @@ -143,17 +143,17 @@ get_address_input() { # 非交互模式直接使用默认值 if [ -t 0 ]; then # 仅在交互式终端显示提示 - echo -e "${BLUE}请输入 EulerCopilot 前端访问URL(默认:$eulercopilot_address):${NC}" + echo -e "${BLUE}Enter openEuler Intelligence frontend access URL (e.g., http://\$IP:30080):${NC}" read -p "> " input_euler [ -n "$input_euler" ] && eulercopilot_address=$input_euler - echo -e "${BLUE}请输入 Authhub 前端访问URL(默认:$authhub_address):${NC}" + echo -e "${BLUE}Enter Authhub frontend access URL (e.g., http://\$IP:30081):${NC}" read -p "> " input_auth [ -n "$input_auth" ] && authhub_address=$input_auth fi echo -e "${GREEN}使用配置:" - echo "EulerCopilot地址: $eulercopilot_address" + echo "openEuler Intelligence地址: $eulercopilot_address" echo "Authhub地址: $authhub_address" } @@ -245,7 +245,7 @@ check_directories() { } uninstall_eulercopilot() { - echo -e "${YELLOW}检查是否存在已部署的 EulerCopilot...${NC}" >&2 + echo -e "${YELLOW}检查是否存在已部署的 openEuler Intelligence...${NC}" >&2 # 删除 Helm Release: euler-copilot if helm list -n euler-copilot --short | grep -q '^euler-copilot$'; then @@ -351,14 +351,14 @@ pre_install_checks() { # 执行安装 execute_helm_install() { local arch=$1 - echo -e "${BLUE}开始部署EulerCopilot(架构: $arch)...${NC}" >&2 + echo -e "${BLUE}开始部署openEuler Intelligence(架构: $arch)...${NC}" >&2 enter_chart_directory helm upgrade --install $NAMESPACE -n $NAMESPACE ./euler_copilot --set globals.arch=$arch --create-namespace || { - echo -e "${RED}Helm 安装 EulerCopilot 失败!${NC}" >&2 + echo -e "${RED}Helm 安装 openEuler Intelligence 失败!${NC}" >&2 exit 1 } - echo -e "${GREEN}Helm安装 EulerCopilot 成功!${NC}" >&2 + echo -e "${GREEN}Helm安装 openEuler Intelligence 成功!${NC}" >&2 } # 检查pod状态 @@ -424,8 +424,8 @@ main() { echo -e "${YELLOW}是否保留现有的模型配置?${NC}" echo -e " ${BLUE}Y) 保留现有配置${NC}" echo -e " ${BLUE}n) 使用默认配置${NC}" + read -p "请选择(Y/N): " input_preserve while true; do - read -p "请选择(Y/N): " input_preserve case "${input_preserve:-Y}" in [YyNn]) preserve_models=${input_preserve:-Y}; break ;; *) echo -e "${RED}无效输入,请选择Y或n${NC}" ;; @@ -456,11 +456,11 @@ show_success_message() { echo -e "\n${GREEN}==================================================${NC}" - echo -e "${GREEN} EulerCopilot 部署完成! ${NC}" + echo -e "${GREEN} openEuler Intelligence 部署完成! ${NC}" echo -e "${GREEN}==================================================${NC}" echo -e "${YELLOW}访问信息:${NC}" - echo -e "EulerCopilot UI: ${eulercopilot_address}" + echo -e "openEuler Intelligence UI: ${eulercopilot_address}" echo -e "AuthHub 管理界面: ${authhub_address}" echo -e "\n${YELLOW}系统信息:${NC}" diff --git a/deploy/scripts/9-other-script/get_client_id_and_secret.py b/deploy/scripts/9-other-script/get_client_id_and_secret.py index cb71e116f..ffe267e9f 100755 --- a/deploy/scripts/9-other-script/get_client_id_and_secret.py +++ b/deploy/scripts/9-other-script/get_client_id_and_secret.py @@ -170,3 +170,4 @@ if __name__ == "__main__": except Exception as e: print(f"\nError: {str(e)}") sys.exit(1) + diff --git a/deploy/scripts/9-other-script/save_images.sh b/deploy/scripts/9-other-script/save_images.sh index 000e0b58b..d963bd276 100755 --- a/deploy/scripts/9-other-script/save_images.sh +++ b/deploy/scripts/9-other-script/save_images.sh @@ -19,7 +19,7 @@ show_help() { echo -e "" echo -e "${YELLOW}Options:${NC}" echo -e " --help Show this help message" - echo -e " --version Specify EulerCopilot version (default: ${eulercopilot_version})" + echo -e " --version Specify openEuler Intelligence version (default: ${eulercopilot_version})" echo -e " --arch Specify system architecture (arm/x86, default: auto-detect)" echo -e "" echo -e "${YELLOW}Examples:${NC}" diff --git a/deploy/scripts/deploy.sh b/deploy/scripts/deploy.sh index 116f57c60..59769375f 100755 --- a/deploy/scripts/deploy.sh +++ b/deploy/scripts/deploy.sh @@ -147,7 +147,7 @@ show_sub_menu() { echo "5) 部署Embedding模型" echo "6) 安装数据库" echo "7) 安装AuthHub" - echo "8) 安装EulerCopilot" + echo "8) 安装openEuler Intelligence" echo "9) 返回主菜单" echo "==============================" echo -n "请输入选项编号(1-9): " @@ -162,7 +162,7 @@ show_sub_menu() { echo "5) Deploy Embedding Model" echo "6) Install Databases" echo "7) Install AuthHub" - echo "8) Install EulerCopilot" + echo "8) Install openEuler Intelligence" echo "9) Return to Main Menu" echo "==============================" echo -n "Please enter option number (1-9): " @@ -348,8 +348,8 @@ run_sub_script() { require_kubectl="true" # 需要kubectl ;; 8) - base_script_path="./8-install-EulerCopilot/install_eulercopilot.sh" - script_description=$(t "EulerCopilot安装脚本" "EulerCopilot Installation Script") + base_script_path="./8-install-intelligence/install_intelligence.sh" + script_description=$(t "openEuler Intelligence安装脚本" "openEuler Intelligence Installation Script") show_errors="true" # 启用详细错误显示 require_kubectl="true" # 需要kubectl ;; -- Gitee