Code review comment for lp:~rvb/maas/no-dhcp-write-of-unvalid-config

Gavin Panella (allenap) wrote :

> I think the only sensible thing to do is to stop the DHCP server when the
> number of managed interfaces is zero. I see we already have a task for that
> so it's just a matter of hooking it up into configure_dhcp(). What do you
> think?

Sounds sensible to me. I think it's also worth writing out an empty config (even if it is invalid) or removing the config file.

« Back to merge proposal