nanovms / ops-documentation

Documentation for NanoVMs OPS
https://docs.ops.city
20 stars 37 forks source link

add docs for revised reboot_on_exit #445

Closed eyberg closed 9 months ago

eyberg commented 9 months ago

https://github.com/nanovms/nanos/pull/1977

specifically need to mention that enabling 'reboot on any' (vs reboot on non-zero) can make poweroff/stop operations not operate as well they should (eg: take forever to shutdown, data corruption, etc.)

francescolavra commented 9 months ago

The changes we made in https://github.com/nanovms/nanos/pull/1975 make poweroff/stop operations work normally, regardless of the presence and value of the reboot_on_exit option, and regardless of the application exit code. Basically the kernel is now checking whether a kernel shutdown has been triggered by a poweroff/stop request, and if this is the case it does the shutdown ignoring the reboot_on_exit option

eyberg commented 9 months ago

excellent - that sounds way better