Graceful OS startup when DNS is unavailable?

I recently moved my DNS (Adguard Home) to my IncusOS server, and encountered an issue that I had not anticipated. IncusOS performs secure boot and Incus update checks on startup, before it brings up any containers… meaning that all of these checks fail due to the lack of DNS! This causes the server startup time to baloon to almost four minutes (up from ~30 seconds) and it continues to show the startup errors in the console.

Is there a way I can tell IncusOS “you’re not going to have working networking on startup”? Additionally, is there another time where it could update the secure boot keys i.e. download them at the same time as an OS update and apply them on the next boot?

This will be even more important once I move to virtualizing OPNSense on IncusOS…

Yes, there are configuration options to tell IncusOS just that.

ignore_service_checks as global option and required_for_online as interface options should do the trick.

For updates, that usually gives up pretty quickly in such situations, but you could also change the update check schedule to never and then manually issue incus admin os system update check