mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-09-20 06:55:56 +08:00
update
This commit is contained in:
parent
a17f519f42
commit
09207182ab
|
@ -101,7 +101,7 @@ storage="${12:-local}"
|
|||
independent_ipv6="${13:-N}"
|
||||
independent_ipv6=$(echo "$independent_ipv6" | tr '[:upper:]' '[:lower:]')
|
||||
rm -rf "ct$name"
|
||||
en_system=$(echo "$system_ori" | sed 's/[0-9]*//g')
|
||||
en_system=$(echo "$system_ori" | sed 's/[0-9]*//g; s/\.$//')
|
||||
num_system=$(echo "$system_ori" | sed 's/[a-zA-Z]*//g')
|
||||
system="$en_system-$num_system"
|
||||
cdn_urls=("https://cdn0.spiritlhl.top/" "http://cdn3.spiritlhl.net/" "http://cdn1.spiritlhl.net/" "https://ghproxy.com/" "http://cdn2.spiritlhl.net/")
|
||||
|
|
|
@ -109,7 +109,7 @@ disk="${5:-5}"
|
|||
system_ori="${6:-debian11}"
|
||||
storage="${7:-local}"
|
||||
rm -rf "ct$name"
|
||||
en_system=$(echo "$system_ori" | sed 's/[0-9]*//g')
|
||||
en_system=$(echo "$system_ori" | sed 's/[0-9]*//g; s/\.$//')
|
||||
num_system=$(echo "$system_ori" | sed 's/[a-zA-Z]*//g')
|
||||
system="$en_system-$num_system"
|
||||
cdn_urls=("https://cdn0.spiritlhl.top/" "http://cdn3.spiritlhl.net/" "http://cdn1.spiritlhl.net/" "https://ghproxy.com/" "http://cdn2.spiritlhl.net/")
|
||||
|
|
Loading…
Reference in a new issue