-
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
Systemd hook compatibility #1
Comments
This hook is only compatible with the legacy way of doing things. I'm not sure how much work is needed to make this compatible with systemd: can the script be called as-is through a systemd unit ? would dropbear need to be handled in a dedicated unit ? ... |
As an alternative, you can also try what is documented as Remote unlocking of the root (or other) partition. If it works as described, I guess there is even no need for me to update my hook. |
So I did a quick test with mkinitcpio-systemd-tool, and it should meet your needs. Basically I
The boot sequence now displays a prompt to enter the password:
The same prompt is displayed when connecting through SSH. |
Hi,
I'm trying to make it work with systemd only hooks, I can't even see any messages connected with this hook, or getting ip address on my screen after bootup.
When I start fallback shell I don't have any IP address.
My initcpio hooks:
base systemd keyboard autodetect ssh-cryptsetup modconf sd-vconsole block bcache sd-lvm2 filesystems fsck
my mkinitcpio output
The text was updated successfully, but these errors were encountered: