[lxc-devel] [lxc/lxc] 576400: confile: support the network link string pattern m...

GitHub noreply at github.com
Fri Dec 16 18:46:33 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 576400e5e01b6634bbc8e8fa11beffa71cc4ef45
      https://github.com/lxc/lxc/commit/576400e5e01b6634bbc8e8fa11beffa71cc4ef45
  Author: fli <fupan.li at windriver.com>
  Date:   2016-12-12 (Mon, 12 Dec 2016)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: support the network link string pattern matching

Enable lxc network config support the following type and link:

lxc.network.type = phys
lxc.network.link = eth+

Here, the suffix '+' will trigger a string pattern matching
and when lxc find any network interfaces name prefixed with
"eth" such as "eth0", "eth1", "ethxxxx" and so on, it will
try to move them into the container's namespace; If it didn't
find any matching, it would do nothing for this configure
line.

Signed-off-by: fli <fupan.li at windriver.com>


  Commit: 8b7ffa302d15bfafe75a270c32b2287eb594ee22
      https://github.com/lxc/lxc/commit/8b7ffa302d15bfafe75a270c32b2287eb594ee22
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  Merge pull request #1343 from lifupan/master

confile: support the network link string pattern matching


Compare: https://github.com/lxc/lxc/compare/7d091d9e9626...8b7ffa302d15


More information about the lxc-devel mailing list