I’m using lxd currently with juju with great success. Its really, really a game changer and I absolutely love it.
A few years ago, I managed to set the snapped version of lxd up in such a way that is absolutely behaves perfectly. However, at this point, I can’t remember exactly how I set it up and I now would like to re-create it.
I have a working setup, and basically just need some help to structurally get back an identical setup.
- I have a router which I would like to take care of the DNS and address-assignment. E.g. not have the snapped version of lxd do this. This is great since the rest of the network will know about all the hosts.
This is how the network seems setup (which works):
root@iceberg:~# lxc network show lxdbr0
I think the key “managed”: false is the key element here?
I have my working bridge defined in /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
interfaces: [ vlan2 ]
addresses: [ 192.168.2.2/24 ]
Together, this seems to work perfectly. All my containers gets IP and DNS names and life is beautiful.
So, apart from the netplan, how would I go ahead and make lxd abandon the local dnsmasq and let my router/dns take care of that?
Do I need to do something more to re-create my fabulous setup =D ?