Hi.
Is there a solution to use variables in container configuration.
I need to start some premount scripts and some post stop scripts.
As far as I've understand, up to now the variables in container configs are not implemented.
My task is simple:
1- to create some directories and files before start of lxc container and after lxc.mount them
2 - to remove mentioned above files and directories after container shutdown.
I need such option because this files and directories locates in tmpfs, not on my hdd and I have only 8G tmpfs.
Is there a solution to use variables in container configuration.
I need to start some premount scripts and some post stop scripts.
As far as I've understand, up to now the variables in container configs are not implemented.
My task is simple:
1- to create some directories and files before start of lxc container and after lxc.mount them
2 - to remove mentioned above files and directories after container shutdown.
I need such option because this files and directories locates in tmpfs, not on my hdd and I have only 8G tmpfs.