diff --git a/tasks/container-setup.yml b/tasks/container-setup.yml index 43b684e..f6108e2 100644 --- a/tasks/container-setup.yml +++ b/tasks/container-setup.yml @@ -29,10 +29,9 @@ lxc.rootfs.path = dir:/var/lib/lxc/{{ ctr_name }}/rootfs lxc.uts.name = {{ ctr_name }} - lxc.net.0.type = macvlan - lxc.net.0.macvlan.mode = vepa + lxc.net.0.type = veth 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.ipv4.address = {{ local_network.prefix4 }}201/{{ local_network.netmask4 }} lxc.net.0.ipv4.gateway = {{ local_network.gateway }}