Re: [lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-27 Thread Tomasz Chmielewski
On 2015-10-27 23:36, Serge Hallyn wrote: Quoting Tomasz Chmielewski (man...@wpkg.org): Thanks, it worked. How do I set other "lxc-style" values in lxd, like for example: lxc.network.ipv4 = 10.0.12.2/24 lxc.network.ipv4.gateway = 10.0.12.1 lxc.network.ipv6 = :::::55

Re: [lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-27 Thread Tomasz Chmielewski
On 2015-10-27 23:54, Serge Hallyn wrote: (...) But it doesn't matter if it's bridged or routed - all I want to do is: - to set static IPv4 and IPv6 addresses, without doing so in the container (works with lxc), - be sure lxd does not hang if I supply something incompatible in CLI :) Yeah,

Re: [lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-27 Thread Serge Hallyn
Quoting Tomasz Chmielewski (man...@wpkg.org): > On 2015-10-27 23:36, Serge Hallyn wrote: > > >>Same "lxc config set containername", i.e.: > >> > >>lxc config set x1 raw.lxc "lxc.network.ipv4 = 10.0.12.2/24" > >>lxc config set x1 raw.lxc "lxc.network.ipv4.gateway = 10.0.12.1" > >>lxc config set x1

Re: [lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-27 Thread Serge Hallyn
Quoting Tomasz Chmielewski (man...@wpkg.org): > On 2015-10-27 23:36, Serge Hallyn wrote: > >Quoting Tomasz Chmielewski (man...@wpkg.org): > >>Thanks, it worked. > >> > >>How do I set other "lxc-style" values in lxd, like for example: > >> > >>lxc.network.ipv4 = 10.0.12.2/24 >

Re: [lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-27 Thread Tomasz Chmielewski
Interesting - this doesn't really work and hangs lxd: 1) first try: root@srv7 ~ # lxc config set testct raw.lxc "lxc.network.ipv4=10.0.3.228/24" error: problem applying raw.lxc, perhaps there is a syntax error? root@srv7 ~ # 2) second try - it never returns: root@srv7 ~ # lxc config set

Re: [lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-27 Thread Serge Hallyn
Quoting Tomasz Chmielewski (man...@wpkg.org): > Thanks, it worked. > > How do I set other "lxc-style" values in lxd, like for example: > > lxc.network.ipv4 = 10.0.12.2/24 > lxc.network.ipv4.gateway = 10.0.12.1 > lxc.network.ipv6 = :::::55 > lxc.network.ipv6.gateway =

Re: [lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-26 Thread Tomasz Chmielewski
Thanks, it worked. How do I set other "lxc-style" values in lxd, like for example: lxc.network.ipv4 = 10.0.12.2/24 lxc.network.ipv4.gateway = 10.0.12.1 lxc.network.ipv6 = :::::55 lxc.network.ipv6.gateway = :2345:6789:::2 Same "lxc config set containername", i.e.: lxc

[lxc-users] set "lxc.aa_allow_incomplete = 1" - where do I add it for lxd?

2015-10-26 Thread Tomasz Chmielewski
I get the following when starting a container with lxd: Incomplete AppArmor support in your kernel If you really want to start this container, set lxc.aa_allow_incomplete = 1 in your container configuration file Where exactly do I set this with lxd? I don't really see a