Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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@windriver.com>
- Loading branch information
Showing
1 changed file
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters