]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/confile.c
network: preserve backwards compatibility
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 17 Jun 2017 06:53:41 +0000 (08:53 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 18 Jun 2017 09:55:34 +0000 (11:55 +0200)
commitc302b476322ee7aadef41e0847e34220e5336ea0
tree28bf55fb857db6c50371420b851593ba7eb6fd66
parent8c58265505fd432242a81b74c6616dddc7f30e61
network: preserve backwards compatibility

The new network parser will support specifying multiple networks in the old
format where each new non-indexed "lxc.network.type" line starts a new network
configuration. This way we don't break users. For now, we just print a
deprecation warning. We will KILL this in LXC 3.0.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c
src/lxc/conf.h
src/lxc/confile.c
src/lxc/confile_utils.c
src/lxc/confile_utils.h
src/tests/get_item.c