Update create_ct.sh

This commit is contained in:
spiritLHLS 2023-04-23 13:45:38 +08:00 committed by GitHub
parent 7c476bad88
commit 49c14da923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,9 +20,9 @@ pre_check(){
if ! command -v dos2unix > /dev/null 2>&1; then
apt-get install dos2unix -y
fi
if [ ! -f "buildvm.sh" ]; then
if [ ! -f "buildct.sh" ]; then
curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/scripts/buildct.sh -o buildct.sh && chmod +x buildct.sh
dos2unix buildvm.sh
dos2unix buildct.sh
fi
}