mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 19:44:38 +08:00
Update create_vm.sh
This commit is contained in:
parent
ceac50d828
commit
e9a0ea9cc1
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,9 @@ build_new_containers(){
|
|||
user=${ori: 2: 4}
|
||||
ori=$(date | md5sum)
|
||||
password=${ori: 2: 9}
|
||||
ssh_port=$(($ssh_port + 1))
|
||||
ssh_port=$(($web2_port + 1))
|
||||
web1_port=$(($web2_port + 2))
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue