From d206af0393c881312f96f0bf9229ae9e3ee7a8db Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 9 Apr 2023 22:44:36 +0800 Subject: [PATCH] Update create_vm.sh --- back/create_vm.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/back/create_vm.sh b/back/create_vm.sh index 709bc73..e5511a0 100644 --- a/back/create_vm.sh +++ b/back/create_vm.sh @@ -78,11 +78,10 @@ build_new_containers(){ web2_port=$(($web1_port + 3)) port_start=$(($port_end + 1)) port_end=$(($port_start + 25)) - ./buildvm.sh $vm_num $user $password 1 512 5 $ssh_port $web1_port $web2_port $port_start $port_end 300 300 + ./buildvm.sh $vm_num $user $password 1 512 5 $ssh_port $web1_port $web2_port $port_start $port_end cat "vm$vm_num" >> vmlog rm -rf "vm$vm_num" done } - - +build_new_containers