I am trying to connect a host to router through a switch. I have tried to use a ovs bridge instead of the default linux bridge. In order to do the required changes, i need to access var/lib/lxc/container/config but i am not able to see any such folder in “lib”. Instead, i was trying to do the same changes in /etc/lxc/default.conf but the changes don’t get reflected.
I am using ubuntu 20.04 and lxc version 4.0.6.
I have created the container using the below command:
lxc-create -t download -n privileged-container
i have 2 queries here:
- Why there is no folder with config file in var/lib/lxc ? I have referred a lot of pages but everywhere it says the same but i didnt find it in my system.
- Even though i have done the required changes in default.conf, why is it not reflecting as point 1 doesnot apply for me.
I am not using lxd for the info.