Hello,
I've got a quick question in regards to LXC containers and the possibility to add persistent mount options for the rootfs filesystem (ext4). Just wanted to clarify that I am *not* using ZFS as a backend for my LXC containers (not sure if that plays a role for having this settings set anyways).
I'm reading that this should be possible by adding something like "lxc.rootfs.options = <option>" somewhere, but apparently *not* in pct.conf file?
In the pct.conf man page it is mentioned that:
...that option's syntax by the way, it appears that it has been changed to "lxc.init.cmd:" ....
So my question is, is this the correct place to add the "lxc.rootfs.options" entry (apparently not, as I already tried it) ? ...or I will have to create a file, save it "somewhere" on the host (?) filesystem and add in there this option and potentially any other custom options ?
Many thanks
I've got a quick question in regards to LXC containers and the possibility to add persistent mount options for the rootfs filesystem (ext4). Just wanted to clarify that I am *not* using ZFS as a backend for my LXC containers (not sure if that plays a role for having this settings set anyways).
I'm reading that this should be possible by adding something like "lxc.rootfs.options = <option>" somewhere, but apparently *not* in pct.conf file?
In the pct.conf man page it is mentioned that:
"It is also possible to add low-level LXC-style configuration directly, for example:
lxc.init_cmd: /sbin/my_own_init"
...that option's syntax by the way, it appears that it has been changed to "lxc.init.cmd:" ....
So my question is, is this the correct place to add the "lxc.rootfs.options" entry (apparently not, as I already tried it) ? ...or I will have to create a file, save it "somewhere" on the host (?) filesystem and add in there this option and potentially any other custom options ?
Many thanks