Update create_vm.sh

This commit is contained in:
spiritLHLS 2023-04-11 12:04:41 +08:00 committed by GitHub
parent 4e0e3629f6
commit aa993438c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,7 @@ pre_check(){
fi
if [ ! -f "buildvm.sh" ]; then
curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/buildvm.sh -o buildvm.sh && chmod +x buildvm.sh
dos2unix buildvm.sh
fi
}
@ -85,4 +86,5 @@ build_new_vms(){
done
}
pre_check
build_new_vms