Hello,
In order to ensure that the containers will get the same IP address after a long period of time they were stopped, I would like to define the ‘infinite’ lease time for dnsmasq:
lxc network set lxdbr0 ipv4.dhcp.expiry infinite
Is there a way how it is possible to delete the IP address lease when a container is destroyed?
The only way to do it that I see is (a) delete the corresponding line from dnsmasq.leases and then (b) send the SIGHUP signal to the dnsmasq process in order to force it to reload the configuration.
Thank you.