[lxc-users] lxc 2.0 adding a nic to a container on another vlan (was: access to snapshots from within the containers)

mjansens michel.jansens at ulb.ac.be
Fri Jun 16 15:58:48 UTC 2017


Thanks Fajar,

I stumbled on the GitHub doc, but didn’t think to go looking in the branches.

Great!

Michel


> On 16 Jun 2017, at 17:23, Fajar A. Nugraha <list at fajar.net> wrote:
> 
> On Fri, Jun 16, 2017 at 8:45 PM, Michel Jansens <michel.jansens at ulb.ac.be <mailto:michel.jansens at ulb.ac.be>> wrote:
> Thanks a lot Fajar,
> 
> I did :
>  lxc config device add welcome-lemur eth1 nic nictype=bridged parent=brvlan3904 name=eth1
> And ‘brctl show' shows the interface ‘veth41aa07e1’ was added to the brvlan3904 bridge.
> 
> What I don’t get is where to find the documentation for this. I thought I had to look to in “man lxc.container.conf”
> 
> 
> lxc.container.conf is for old lxc1 configuration.
> 
>  
> but I don’t find any reference to network type ‘bridge' (found macvlan, veth,…) …
> 
> 
> 
> Best doc I found is from github:
> https://github.com/lxc/lxd/blob/master/doc/configuration.md <https://github.com/lxc/lxd/blob/master/doc/configuration.md> -> newer lxd version (e.g. one from xenial-backports)
> https://github.com/lxc/lxd/blob/stable-2.0/doc/configuration.md <https://github.com/lxc/lxd/blob/stable-2.0/doc/configuration.md> -> 2.0.x (e.g. default version in ubuntu xenial)
> 
> -- 
> Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170616/1df6f89b/attachment.html>


More information about the lxc-users mailing list