I running lxd on ubuntu 22.04 desktop. i install bridge-utils and change my network to the following:
network:
ethernets:
enp160:
dhcp4: no
version: 2
bridges:
br0:
dhcp4: no
addresses:
- 10.42.41.74/24
gateway4: 10.42.42.254
nameservers:
addresses:
- 8.8.8.8
interfaces:
- enp160
and set br0 to lxd via:
lxc config device add containername eth0 nic nictype=bridged parent=br0 name=eth0
it’s not working, and lxd has no ip. what i doint wrong?