From 77e885c2a7f2148441795563e96cec33e6aca18e Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 17 Apr 2023 20:46:10 +0800 Subject: [PATCH] Update buildvm.sh --- buildvm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildvm.sh b/buildvm.sh index 49f096f..4613e69 100644 --- a/buildvm.sh +++ b/buildvm.sh @@ -27,7 +27,7 @@ rm -rf "vm$name" if [ ! -d "qcow" ]; then mkdir qcow fi -systems=("centos7" "debian10" "debian11" "debian9" "ubuntu18" "ubuntu20" "ubuntu22" "centos9-stream" "centos8-stream") +systems=("centos7" "debian10" "debian11" "debian9" "ubuntu18" "ubuntu20" "ubuntu22" "centos9-stream" "centos8-stream" "archlinux" "almalinux8" "almalinux9") for sys in ${systems[@]}; do if [[ "$system" == "$sys" ]]; then file_path="/root/qcow/${system}.qcow2" @@ -35,7 +35,7 @@ for sys in ${systems[@]}; do fi done if [[ -z "$file_path" ]]; then - echo "无法安装对应系统,仅支持 debian9 debian10 debian11 ubuntu18 ubuntu20 ubuntu22 centos9-stream centos8-stream centos7" + echo "无法安装对应系统,仅支持 debian9 debian10 debian11 ubuntu18 ubuntu20 ubuntu22 centos9-stream centos8-stream centos7 archlinux almalinux8 almalinux9" exit 1 fi url="https://github.com/spiritLHLS/Images/releases/download/v1.0/${system}.qcow2"