Skip to content

tos3to4: fix LXC migration with IP addresses

This fixes #618 (closed).

The config for an LXC originally was being changed to look like this, which is invalid:

lxc.net.0.ipv4.ipv4 = xxxxxx
lxc.net.0.ipv6.ipv6 = xxxxxx

The config in LXC v3 should look like the following, being a change of key from ipv4 and ipv6 to address:

lxc.net.0.ipv4.address = xxxxxx
lxc.net.0.ipv6.address = xxxxxx

Merge request reports