mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-02 12:12:14 +02:00
build.func: fix SDN vnet network parameter to use bridge instead of vnet
This commit is contained in:
+1
-1
@@ -3930,7 +3930,7 @@ build_container() {
|
||||
|
||||
NET_STRING="-net0 name=eth0,bridge=${BRG:-vmbr0}"
|
||||
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
|
||||
|
||||
# MAC
|
||||
|
||||
Reference in New Issue
Block a user