CRYPTPASSWORD not accessible from inside chroot #114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm currently writing a postinstall script for one of our Hetzner servers and I need to re-configure the disks with LUKS. I use it mainly to configure one of the LUKS keyslots for NBDE with clevis+tang.
It would be awesome to have the
CRYPTPASSWORDparameter exposed in a file inside the chroot. So then a post-install script could modify the LUKS settings. Possible locations could be/run/lukspasswd(/runis a tmpfs so no clear text saved to disk).Also it would be nice if the file has got no trailing new line, so that it can be automatic parameter for
--key-filein thecryptsetupcommand.