mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-09-07 15:04:14 +08:00
update
This commit is contained in:
parent
140a57ca16
commit
5124252d62
2 changed files with 2 additions and 2 deletions
|
@ -251,7 +251,7 @@ if [ $first_digit -le 2 ]; then
|
|||
else
|
||||
num=$((first_digit - 2))$second_digit$third_digit
|
||||
fi
|
||||
if [ "$independent_ipv6" == "N" ]; then
|
||||
if [ "$independent_ipv6" == "n" ]; then
|
||||
qm create $vm_num --agent 1 --scsihw virtio-scsi-single --serial0 socket --cores $core --sockets 1 --cpu host --net0 virtio,bridge=vmbr1,firewall=0
|
||||
else
|
||||
qm create $vm_num --agent 1 --scsihw virtio-scsi-single --serial0 socket --cores $core --sockets 1 --cpu host --net0 virtio,bridge=vmbr1,firewall=0 --net1 virtio,bridge=vmbr2,firewall=0
|
||||
|
|
|
@ -300,7 +300,7 @@ else
|
|||
ipv6_gateway=$(cat /usr/local/bin/pve_ipv6_gateway)
|
||||
fi
|
||||
fi
|
||||
if [ "$independent_ipv6" == "N" ]; then
|
||||
if [ "$independent_ipv6" == "n" ]; then
|
||||
qm create $vm_num --agent 1 --scsihw virtio-scsi-single --serial0 socket --cores $core --sockets 1 --cpu host --net0 virtio,bridge=vmbr0,firewall=0
|
||||
else
|
||||
qm create $vm_num --agent 1 --scsihw virtio-scsi-single --serial0 socket --cores $core --sockets 1 --cpu host --net0 virtio,bridge=vmbr0,firewall=0 --net1 virtio,bridge=vmbr2,firewall=0
|
||||
|
|
Loading…
Add table
Reference in a new issue