Update create_ct.sh

This commit is contained in:
spiritLHLS 2023-05-21 18:40:16 +08:00 committed by GitHub
parent 870abf02ef
commit f0cedf19c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ build_new_cts(){
web2_port=$(($web1_port + 1)) web2_port=$(($web1_port + 1))
port_start=$(($port_end + 1)) port_start=$(($port_end + 1))
port_end=$(($port_start + 25)) port_end=$(($port_start + 25))
./buildct.sh $ct_num $password $cpu_nums $memory_nums $disk_nums $ssh_port $web1_port $web2_port $port_start $port_end debian10 $storage ./buildct.sh $ct_num $password $cpu_nums $memory_nums $disk_nums $ssh_port $web1_port $web2_port $port_start $port_end debian11 $storage
cat "ct$ct_num" >> ctlog cat "ct$ct_num" >> ctlog
rm -rf "ct$ct_num" rm -rf "ct$ct_num"
sleep 60 sleep 60