mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 10:38:22 +08:00
Update create_vm.sh
This commit is contained in:
parent
fa778cc566
commit
d206af0393
1 changed files with 2 additions and 3 deletions
|
@ -78,11 +78,10 @@ build_new_containers(){
|
||||||
web2_port=$(($web1_port + 3))
|
web2_port=$(($web1_port + 3))
|
||||||
port_start=$(($port_end + 1))
|
port_start=$(($port_end + 1))
|
||||||
port_end=$(($port_start + 25))
|
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
|
cat "vm$vm_num" >> vmlog
|
||||||
rm -rf "vm$vm_num"
|
rm -rf "vm$vm_num"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_new_containers
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue