Merge "Add bridge_type to lxc_container_networks"

This commit is contained in:
Zuul 2023-01-14 21:46:17 +00:00 committed by Gerrit Code Review
commit 4903bac1f7
2 changed files with 9 additions and 1 deletions

View File

@ -144,7 +144,8 @@ lxc_container_network_veth_pair_indexed: "{{ lxc_container_network_veth_pair_pre
# A default set of container networks used within the LXC containers.
lxc_container_networks:
lxcbr0_address:
bridge: lxcbr0
bridge: "{{ lxc_net_bridge | default('lxcbr0') }}"
bridge_type: "{{ lxc_net_bridge_type | default('linuxbridge') }}"
interface: eth0
type: veth

View File

@ -0,0 +1,7 @@
---
features:
- |
Added variable ``lxc_net_bridge_type`` that allows to control type for
lxcbr0: it can be set either to linuxbridge or openvswitch as of today.
Default value is linuxbridge that preserves previous behaviour.