diff --git a/roles/proxmox/templates/interfaces.j2 b/roles/proxmox/templates/interfaces.j2 index 6104302..3f90b7b 100644 --- a/roles/proxmox/templates/interfaces.j2 +++ b/roles/proxmox/templates/interfaces.j2 @@ -4,7 +4,7 @@ # bridges must be named vmbrN for proxmox to care {% for vlan in my_cluster.custom_fields.vlans | default([], true) | sort(attribute='vid') %} auto vmbr{{ vlan.vid }} -iface vmbr{{ vlan.vid }} inet manual +iface vmbr{{ vlan.vid }} # {{ vlan.name }} bridge-vlan-aware no bridge-ports vni{{ vlan.vid }} @@ -12,7 +12,7 @@ iface vmbr{{ vlan.vid }} inet manual bridge-fd 0 auto vni{{ vlan.vid }} -iface vni{{ vlan.vid }} inet static +iface vni{{ vlan.vid }} vxlan-id {{ vlan.vid }} mstpctl-bpduguard yes mstpctl-portbpdufilter yes