mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-06 19:04:46 +08:00
Update create_vm.sh
This commit is contained in:
parent
4e0e3629f6
commit
aa993438c6
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ pre_check(){
|
||||||
fi
|
fi
|
||||||
if [ ! -f "buildvm.sh" ]; then
|
if [ ! -f "buildvm.sh" ]; then
|
||||||
curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/buildvm.sh -o buildvm.sh && chmod +x buildvm.sh
|
curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/buildvm.sh -o buildvm.sh && chmod +x buildvm.sh
|
||||||
|
dos2unix buildvm.sh
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,4 +86,5 @@ build_new_vms(){
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_check
|
||||||
build_new_vms
|
build_new_vms
|
||||||
|
|
Loading…
Reference in a new issue