s4uliu5 Posted May 30, 2018 Report Share Posted May 30, 2018 Hello, where configuration file of LXD/LXC containers is store in Funtoo? According to google that such files, in some other LINUX distributions, are stored in /var/lib/lxc/container/<container>/config or /container/<container>/config, but no such file exists in Funtoo. I'm asking this so I would be able, for example, to change from lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 to lxc.network.type = macvlan lxc.network.macvlan.mode = bridge lxc.network.flags = up lxc.network.link = eth0 Thank you, -- Saulius Link to comment Share on other sites More sharing options...
s4uliu5 Posted May 30, 2018 Author Report Share Posted May 30, 2018 Do I understand correctly that in case of LXD/LXC containers there is no configuration file, and all configuration (LXD's and containers) is stored in LXD DB /var/lib/lxd/lxd.db ? Link to comment Share on other sites More sharing options...
palica Posted May 30, 2018 Report Share Posted May 30, 2018 so it is vital not to confuse yourself with lxc when using lxd. LXD is using db to store all config stuff and can be edited or displayed with lxc config show <container> (lxc is a command coming from LXD, all LXC commands have a hyphen lxc-ls ...) if using LXD don't even go to /var/lib/lxc/ :) /var/lib/lxd is your directory network is controlled with lxc network Link to comment Share on other sites More sharing options...
s4uliu5 Posted May 30, 2018 Author Report Share Posted May 30, 2018 Good to know. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts