mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-26 22:27:15 +02:00
core: fix SDN vnet network parameter to use bridge instead of vnet (#15527)
This commit is contained in:
committed by
GitHub
parent
be21f7517a
commit
a8eedc1848
+1
-1
@@ -3930,7 +3930,7 @@ build_container() {
|
|||||||
|
|
||||||
NET_STRING="-net0 name=eth0,bridge=${BRG:-vmbr0}"
|
NET_STRING="-net0 name=eth0,bridge=${BRG:-vmbr0}"
|
||||||
if [[ -n "${var_sdn_vnet:-${SDN_VNET:-}}" ]]; then
|
if [[ -n "${var_sdn_vnet:-${SDN_VNET:-}}" ]]; then
|
||||||
NET_STRING="-net0 name=eth0,vnet=${var_sdn_vnet:-$SDN_VNET}"
|
NET_STRING="-net0 name=eth0,bridge=${var_sdn_vnet:-$SDN_VNET}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# MAC
|
# MAC
|
||||||
|
|||||||
Reference in New Issue
Block a user