v0.4 small fixes & a new "last resort" SSH module.
-
Added a module as 21_ssh, can read the authorized_keys field of users to be added at boot time for trusted access to enter the passphrase if every other step fails, otherwise, the host prints a temporary root ssh passphrase on the screen and holds the ssh server open for 5 minutes. SSHing in simply displays the same passphrase prompt. Upon entering a successful passphrase it'll boot you out and within a minute the host will finish its boot.
-
Made the main hook of this project NOT run extra modules if the root is already unlocked, which plays well into the above module not opening the door unless absolutely required.
-
Added a zfs module checker to the main hook for strange scenarios I encountered where the zfs module wouldn't load on certain hardware configurations, and in qemu sometimes. It will try over the course of a minute before bombing out. I've seen this happen when booting from say... a USB stick, but not qemu. So here it is.
I think that's it 🙂