Switch to bridge mode

This commit is contained in:
nemunaire 2023-03-15 20:49:11 +01:00
parent 4ed142d8d8
commit 35a6017f7d

View File

@ -29,10 +29,9 @@
lxc.rootfs.path = dir:/var/lib/lxc/{{ ctr_name }}/rootfs lxc.rootfs.path = dir:/var/lib/lxc/{{ ctr_name }}/rootfs
lxc.uts.name = {{ ctr_name }} lxc.uts.name = {{ ctr_name }}
lxc.net.0.type = macvlan lxc.net.0.type = veth
lxc.net.0.macvlan.mode = vepa
lxc.net.0.flags = up lxc.net.0.flags = up
lxc.net.0.link = eth0 lxc.net.0.link = br0
lxc.net.0.hwaddr = de:de:d7:8e:36:5e lxc.net.0.hwaddr = de:de:d7:8e:36:5e
lxc.net.0.ipv4.address = {{ local_network.prefix4 }}201/{{ local_network.netmask4 }} lxc.net.0.ipv4.address = {{ local_network.prefix4 }}201/{{ local_network.netmask4 }}
lxc.net.0.ipv4.gateway = {{ local_network.gateway }} lxc.net.0.ipv4.gateway = {{ local_network.gateway }}