-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unlock ZFS Datasets with Shavee during boot #16
Comments
This is great. I suggest to update the README and add this method as a separate section. BTW, is there a way to also pass the shavee arguments (like |
There's no easy way to do that as far as I know. You can pass an "instance" to a systemd service with the |
I think we can try using configuration files with systemd services. |
To implement config files in addition to arguments, there is |
Config files seem like a good idea! |
This task is gated by |
As I mentioned in #20,
|
I'm using Shavee to unlock a ZFS dataset as part of my boot process, and thought I'd share how I'm doing it:
/etc/systemd/system/[email protected]
I'm using Slot 1 for HMAC challenges on my Yubikey, so you may need to alter the Shavee command if you're using a different slot
Then just enable the service for your encrypted pool, e.g. to unlock
zroot/data
you'd dosystemctl enable zfs-shavee-unlock@zroot-data
The text was updated successfully, but these errors were encountered: