ITADN

Question: pass LUKS passphrase to systemd-tty-ask-password-agent with a script or ansible?

#104Openplaimbock 创建于 2025-10-05
P
plaimbockcommented
Thank you for dracut-sshd! I integrated it into my F42 kickstart %post section and it works great when I manually enter the LUKS passphrase into the systemd-tty-ask-password-agent prompt. Much kudos! Do you perhaps know of a scripted way to pass the LUKS passphrase to systemd-tty-ask-password-agent? I'd like to add the ability to Ansible to decrypt the host and do its thing but have not found a solution. Thanks for any tips.
1 条评论