mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
After LXC version 3, some settings were changed to new names. Same as network. LXC introduced network indexes and changed IPv{4,6} addresses fields. Before, users should only pass `lxc.network.ipv4` to define an IPv4 address. Now, on version 3, users need to pass `lxc.net.X.ipv4.address` to specify the same thing. Same for IPv6. Signed-off-by: Julio Faracco <jcfaracco@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
12 lines
358 B
Plaintext
12 lines
358 B
Plaintext
lxc.net.0.type = phys
|
|
lxc.net.0.link = eth0
|
|
lxc.net.0.name = eth1
|
|
lxc.net.0.ipv4.address = 192.168.122.2/24
|
|
lxc.net.0.ipv4.gateway = 192.168.122.1
|
|
lxc.net.0.ipv6.address = 2003:db8:1:0:214:1234:fe0b:3596/64
|
|
lxc.net.0.ipv6.gateway = 2003:db8:1:0:214:1234:fe0b:3595
|
|
|
|
lxc.rootfs.path = /var/lib/lxc/migrate_test/rootfs
|
|
lxc.uts.name = migrate_test
|
|
lxc.autodev=1
|