Hi all,
I use a couple of container templates for deploying remote desktops, some servers, etc. For certain types of authentication (non-local), I've found the following fields to be necessary in container configuration (this is a sample that was provided to me, I am assuming based on sssd configuration):
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 65536
lxc.idmap: u 300000 300000 1999900001
lxc.idmap: g 300000 300000 1999900001
My question is, if I make this change to a container, and then convert that container to a template, should this change persist? Because when I tried this it seemed to not maintain those settings when I deploy a container from that new template and I had to redo it. Is there any way to do this so I don't have to add this every time when deploying a container that will need non-local authentication? Thank you!
I use a couple of container templates for deploying remote desktops, some servers, etc. For certain types of authentication (non-local), I've found the following fields to be necessary in container configuration (this is a sample that was provided to me, I am assuming based on sssd configuration):
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 65536
lxc.idmap: u 300000 300000 1999900001
lxc.idmap: g 300000 300000 1999900001
My question is, if I make this change to a container, and then convert that container to a template, should this change persist? Because when I tried this it seemed to not maintain those settings when I deploy a container from that new template and I had to redo it. Is there any way to do this so I don't have to add this every time when deploying a container that will need non-local authentication? Thank you!