[lxc-users] unable to set security.protection.delete on a new LXD server
Tomasz Chmielewski
mangoo at wpkg.org
Wed Jul 3 05:24:53 UTC 2019
That was it!
Thanks for the hint.
Tomasz
On 2019-07-03 14:09, Stéphane Graber wrote:
> Do you maybe have both the deb and snap installed on that system and
> are in fact interacting with the deb rather than snap?
>
> dpkg -l | grep lxd
>
> And if you do have both, then run `lxd.migrate` to transition the data
> over to the snap.
>
> On Tue, Jul 2, 2019 at 9:52 PM Tomasz Chmielewski <mangoo at wpkg.org>
> wrote:
>>
>> Just installed lxd from snap on a Ubuntu 18.04 server and launched the
>> first container:
>>
>> # snap list
>> Name Version Rev Tracking Publisher Notes
>> amazon-ssm-agent 2.3.612.0 1335 stable/… aws✓ classic
>> core 16-2.39.3 7270 stable canonical✓ core
>> lxd 3.14 11098 stable canonical✓ -
>>
>>
>> # lxc launch ubuntu:18.04 terraform
>> Creating terraform
>> Starting terraform
>>
>>
>> However, I'm not able to set security.protection.delete for containers
>> created here:
>>
>> # lxc config set terraform security.protection.delete true
>> Error: Invalid config: Unknown configuration key:
>> security.protection.delete
>>
>>
>> Also doesn't work when I try to set it via "lxc config edit".
>>
>> This works perfectly on other LXD servers, so I'm a bit puzzled why it
>> won't work here?
>>
>>
>> Tomasz Chmielewski
>> https://lxadm.com
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list