Update buildvm.sh

This commit is contained in:
spiritLHLS 2023-05-03 14:55:49 +08:00 committed by GitHub
parent 7ac1a460c4
commit b978c6288c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ if [ ! -d "qcow" ]; then
mkdir qcow
fi
# "centos9-stream" "centos8-stream" "centos7" "almalinux8" "almalinux9" "alpinelinux_v3_15" "alpinelinux_v3_17"
systems=("debian10" "debian11" "debian9" "ubuntu18" "ubuntu20" "ubuntu22" "archlinux" "alpinelinux_v3_15" "alpinelinux_v3_17")
systems=("debian10" "debian11" "debian9" "ubuntu18" "ubuntu20" "ubuntu22" "archlinux")
for sys in ${systems[@]}; do
if [[ "$system" == "$sys" ]]; then
file_path="/root/qcow/${system}.qcow2"