mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 19:44:38 +08:00
Update create_ct.sh
This commit is contained in:
parent
7c476bad88
commit
49c14da923
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ pre_check(){
|
||||||
if ! command -v dos2unix > /dev/null 2>&1; then
|
if ! command -v dos2unix > /dev/null 2>&1; then
|
||||||
apt-get install dos2unix -y
|
apt-get install dos2unix -y
|
||||||
fi
|
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
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue