pgj / freebsd-wifibox

wifibox: Use Linux to drive your wireless card on FreeBSD
BSD 2-Clause "Simplified" License
159 stars 12 forks source link

Keep the guest alive across reboots and crashes #14

Closed pgj closed 2 years ago

pgj commented 2 years ago

When the guest reboots or crashes, bhyve will stop after it has halted and it does not make an attempt to restart it. For Wifibox, that is not optimal because the guest would just go missing this way and not revived anymore. Automatically restarting the guest in such cases may be able to help to recover from problems related to crashes without further interaction, and the user could also restart the guest by issuing the classical reboot command on the console. Make this a configurable option, enabled by default.

pgj commented 2 years ago

This was implemented by 8ad746954a3a78e3896dd5212795178d34b5a315 with the difference that feature cannot be turned off by the configuration. It will have to be revisited if that is really necessary.