Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 37694da4b5b3dc0ef17ae8372251bd26de58ee4b
https://github.com/lxc/lxc/commit/37694da4b5b3dc0ef17ae8372251bd26de58ee4b
Author: Christian Brauner <[email protected]>
Date: 2017-08-28 (Mon, 28 Aug 2017)
Changed paths:
M src/lxc/tools/lxc-update-config.in
Log Message:
-----------
lxc-update-config: handle legacy networks
Older instances of liblxc allowed to specify networks like this:
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxdbr0
lxc.network.name= eth0
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxdbr0
lxc.network.name = eth1
Each occurrence of "lxc.network.type" indicated the definition of a new
network. This syntax is not allowed in newer liblxc instances. Instead, network
must carry an index. So in new liblxc these two networks would be translated to:
lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.link = lxdbr0
lxc.net.0.name= eth0
lxc.net.1.type = veth
lxc.net.1.flags = up
lxc.net.1.link = lxdbr0
lxc.net.1.name = eth1
The update script did not handle this case correctly. It should now.
Signed-off-by: Christian Brauner <[email protected]>
Commit: b7ab9e866f247ead198c5344d4e23159c211adc8
https://github.com/lxc/lxc/commit/b7ab9e866f247ead198c5344d4e23159c211adc8
Author: Stéphane Graber <[email protected]>
Date: 2017-08-28 (Mon, 28 Aug 2017)
Changed paths:
M src/lxc/tools/lxc-update-config.in
Log Message:
-----------
Merge pull request #1763 from brauner/2017-08-28/lxc_2.1_upgrade_script
lxc-update-config: handle legacy networks
Compare: https://github.com/lxc/lxc/compare/04ba27e0dc8d...b7ab9e866f24_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel