mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
2245287cbe
LXC version 3 config files are still using network old style definition. So, as LXC supports it now, they can be converted to use this new definition. Signed-off-by: Julio Faracco <jcfaracco@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
24 lines
597 B
Plaintext
24 lines
597 B
Plaintext
lxc.net.0.type = phys
|
|
lxc.net.0.link = eth0
|
|
lxc.net.0.name = eth1
|
|
lxc.net.0.ipv4 = 192.168.122.2/24
|
|
lxc.net.0.ipv4.gateway = 192.168.122.1
|
|
lxc.net.0.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596/64
|
|
lxc.net.0.ipv6.gateway = 2003:db8:1:0:214:1234:fe0b:3595
|
|
|
|
lxc.net.1.type = vlan
|
|
lxc.net.1.flags = up
|
|
lxc.net.1.link = eth0
|
|
lxc.net.1.hwaddr = 02:00:15:8f:05:c1
|
|
lxc.net.1.vlan.id = 2
|
|
|
|
lxc.net.2.type = macvlan
|
|
lxc.net.2.flags = up
|
|
lxc.net.2.link = eth0
|
|
lxc.net.2.hwaddr = 02:00:15:8f:05:c1
|
|
lxc.net.2.macvlan.mode = vepa
|
|
|
|
lxc.rootfs = /var/lib/lxc/migrate_test/rootfs
|
|
lxc.utsname = migrate_test
|
|
lxc.autodev=1
|