Update create_ct.sh

This commit is contained in:
spiritLHLS 2023-04-23 14:01:01 +08:00 committed by GitHub
parent e2df9f64ef
commit 4e686f2cf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ pre_check(){
# if [ -n "$files" ]; then
# for file in $files
# do
# cat "$file" >> vmlog
# cat "$file" >> ctlog
# done
# fi
@ -66,7 +66,7 @@ check_info(){
fi
}
build_new_vms(){
build_new_cts(){
while true; do
reading "还需要生成几个NAT服务器(输入新增几个NAT服务器)" new_nums
if [[ "$new_nums" =~ ^[1-9][0-9]*$ ]]; then
@ -117,5 +117,5 @@ build_new_vms(){
pre_check
check_info
build_new_vms
build_new_cts
check_info