openstack-ansible-lxc_hosts/templates/lxc-networkd-bridge.network.j2
Matthew Thode 32d0a30c35
add gentoo support
Change-Id: Ieb1df06e6581601215851d78fb932a9d1e99e183
2019-02-22 19:43:59 -06:00

11 lines
249 B
Django/Jinja

# {{ ansible_managed }}
[Match]
Name={{ lxc_net_bridge }}
[Network]
Address={{ (lxc_net_address ~ '/' ~ lxc_net_netmask) | ipaddr('cidr') }}
{% if lxc_net_gateway is not none %}
Gateway={{ lxc_net_gateway }}
{% endif %}
ConfigureWithoutCarrier=yes