tos3to4: fix LXC migration with IP addresses
2 unresolved threads
2 unresolved threads
+ 3
− 1
@@ -34,8 +34,10 @@ migrate_config() {
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
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