Hi All,
Could you tell me how to activate the default path for LXC 4.0.9 or 4.0.10
It doesn’t work with the configuration file (/etc/lxc/lxc.conf) as below :
lxc.lxcpath=/opt/CTs
Many thanks & best regards.
Hi All,
Could you tell me how to activate the default path for LXC 4.0.9 or 4.0.10
It doesn’t work with the configuration file (/etc/lxc/lxc.conf) as below :
lxc.lxcpath=/opt/CTs
Many thanks & best regards.
I have installed LXC 4.0.10 from source code and using autogen.sh, configure, make, make install
And it seems that the functionality of lxcpath is not activated.
Any idea ?
Thanks
I can’t reproduce. lxc.lxcpath
seems to work fine with both /etc/lxc/lxc.conf
in 4.0.10
and in current mainline.
Do you know the option for compilation to activate default path ?
Please see below my issue : I have to indicate with “-P mypath” for all LXC commands
root@vmjizo11:/opt/CTs# lxc-ls --version
4.0.10
root@vmjizo11:/opt/CTs# more /etc/lxc/lxc.conf
lxc.lxcpath=/opt/CTs
root@vmjizo11:/opt/CTs# lxc-ls -f
root@vmjizo11:/opt/CTs# lxc-ls -f -P /opt/CTs
NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
IDS_RULES_DB.CT STOPPED 0 - - - false
RULE_CONSOLE.CT STOPPED 0 - - - false
SURICATA.CT STOPPED 0 - - - false
Hi All,
Someone already installed LXC 4.0.10 from source code and set the lxc path in the /etc/lxc/lxc.conf
Thanks & regards
Any idea to solve this issue ?
If you installed LXC from source, you have to set your
lxc.lxcpath to /usr/local/etc/lxc/lxc.conf