Cockpit - Where is the bridge configuration kept?

I recently created a bridge for my VMs inside cockpit ( Ubuntu LTS Server -20.x) and used it in my VMs. They work fine.

My understanding of cockpit was that it will use system configuration files for its tasks but however opening up my netplan configuration at /etc/netplan/00-installer-config.yaml I can see no definition for the bridge ( br0 ).

So any idea where the bridge configuration is kept when its created via cockpit ?

Thanks.

UPDATE 2 :

Solved. See answer

UPDATE 1:

As advised by @user535733 I have also looked at locations:

/usr/lib/systemd/network/
/usr/local/lib/systemd/network/
/run/systemd/network/
/etc/systemd/network/

but no br0 related settings there.

5

1 Answer

Check your netplan configuration.

If your renderer is networkd (common for servers), then check the following locations for the config files:

/usr/lib/systemd/network/
/usr/local/lib/systemd/network/
/run/systemd/network/
/etc/systemd/network/

If your renderer is NetworkManager (common for desktops), then check the following location for config files:

/etc/NetworkManager/system-connections 
  • You can also interact with NetworkManager using nmcli instead of browsing or editing NM config files manually.
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like