mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
This commit includes a test case for multiple network definitions. It is useful right now, but it will be more useful when the index used by LXC version 3.X is implemented to support this new settings. The version 3.X is using indexes to specify each network settings. Signed-off-by: Julio Faracco <jcfaracco@gmail.com> ACKed-by: Michal Privoznik <mprivozn@redhat.com>
24 lines
631 B
Plaintext
24 lines
631 B
Plaintext
lxc.network.type = phys
|
|
lxc.network.link = eth0
|
|
lxc.network.name = eth1
|
|
lxc.network.ipv4 = 192.168.122.2/24
|
|
lxc.network.ipv4.gateway = 192.168.122.1
|
|
lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596/64
|
|
lxc.network.ipv6.gateway = 2003:db8:1:0:214:1234:fe0b:3595
|
|
|
|
lxc.network.type = vlan
|
|
lxc.network.flags = up
|
|
lxc.network.link = eth0
|
|
lxc.network.hwaddr = 02:00:15:8f:05:c1
|
|
lxc.network.vlan.id = 2
|
|
|
|
lxc.network.type = macvlan
|
|
lxc.network.flags = up
|
|
lxc.network.link = eth0
|
|
lxc.network.hwaddr = 02:00:15:8f:05:c1
|
|
lxc.network.macvlan.mode = vepa
|
|
|
|
lxc.rootfs = /var/lib/lxc/migrate_test/rootfs
|
|
lxc.utsname = migrate_test
|
|
lxc.autodev=1
|