[lxc-users] lxc launch + "-c" option - how to set "raw.lxc: lxc.aa_allow_incomplete=1"?

Stéphane Graber stgraber at ubuntu.com
Mon Apr 24 16:34:56 UTC 2017


On Tue, Apr 25, 2017 at 12:07:18AM +0900, Tomasz Chmielewski wrote:
> This one works:
> 
> lxc launch images:ubuntu/trusty/amd64 test1 -c "security.privileged=true"
> 
> 
> These don't:
> 
> lxc launch images:ubuntu/trusty/amd64 test2 -c "security.privileged=true" -c
> "raw.lxc: lxc.aa_allow_incomplete=1"
> 
> lxc launch images:ubuntu/trusty/amd64 test3 -c "raw.lxc:
> lxc.aa_allow_incomplete=1"
> 
> 
> 
> What's the correct way to set "raw.lxc: lxc.aa_allow_incomplete=1" during
> launch time (without setting it as a default profile option first)?

lxc launch images:ubuntu/trusty/amd64 test3 -c raw.lxc=lxc.aa_allow_incomplete=1

Yes, that's two equals signs but that should work fine :)

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170424/22a031ec/attachment.sig>


More information about the lxc-users mailing list