Network set as default

Hi,
Every time i create a new lxd i need to run the following for network.
lxc config device add “containername” eth0 nic nictype=bridged parent=br0 name=eth0
how to sat this as default?

I am sure you can use profiles to get rid of that.

1 Like

You add it to your profile using:

lxc profile device add <profile> eth0 nic nictype=bridged parent=br0 name=eth0
1 Like