From 228ec18108aa80c8da6625295628ba008a74c5c2 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 23 Apr 2023 14:16:22 +0800 Subject: [PATCH] Update create_vm.sh --- scripts/create_vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_vm.sh b/scripts/create_vm.sh index 9b9ad52..3f1c07f 100644 --- a/scripts/create_vm.sh +++ b/scripts/create_vm.sh @@ -107,7 +107,7 @@ build_new_vms(){ password=${ori: 2: 9} ssh_port=$(($web2_port + 1)) web1_port=$(($web2_port + 2)) - web2_port=$(($web1_port + 3)) + web2_port=$(($web1_port + 1)) port_start=$(($port_end + 1)) port_end=$(($port_start + 25)) ./buildvm.sh $vm_num $user $password $cpu_nums $memory_nums $disk_nums $ssh_port $web1_port $web2_port $port_start $port_end debian10