Default acl setting for lxc

brichter-zt

New Member
Mar 17, 2016
8
0
1
45
Hi,

We need acl on some of our machines, so I enabled those in the rootfs settings of those cts.
But we also create clones of those machines from backups, and that setting is not restored, but set to "Default", which is off.

How can I set this default behavior? I'd rather have acls enabled on all machines then having to manualy enable it after each restore.

Alternatively, is there a way to enable these via shell script? The only way I found is to give the rootfs parameter to pct restore, but I cannot know the correct image on ceph to use, because the number can change.

I hope you can help me :)

Greetings,
Benjamin