Update buildct.sh

This commit is contained in:
spiritLHLS 2023-05-15 16:24:25 +08:00 committed by GitHub
parent 21eb25f8d5
commit 659199607d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ web1_port="${7:-20002}"
web2_port="${8:-20003}" web2_port="${8:-20003}"
port_first="${9:-29975}" port_first="${9:-29975}"
port_last="${10:-30000}" port_last="${10:-30000}"
system_ori="${12:-debian11}" system_ori="${11:-debian11}"
rm -rf "ct$name" rm -rf "ct$name"
en_system=$(echo "$system_ori" | sed 's/[0-9]*//g') en_system=$(echo "$system_ori" | sed 's/[0-9]*//g')
num_system=$(echo "$system_ori" | sed 's/[a-zA-Z]*//g') num_system=$(echo "$system_ori" | sed 's/[a-zA-Z]*//g')