My organisation is setting up Debian Buster host with Debian buster vms running in a quemu KVM environment. We are also planning on setting up the VMs using an encrypted partition. Just wondering if anyone knows of a way of injecting the passphrase so that qemu can boot the vms without user intervention. My research so far suggests that is a no but just would like some confirmation / clarification on this.
Asked
Active
Viewed 1,268 times
1 Answers
0
IIUC then yes, there's a tool called clevis
. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/sec-policy-based_decryption

Jiri B
- 541
- 1
- 7
- 16
sendkey
), add a key store device, supply it over serial line, etc. or otherwise just embed it into the initramfs, have the VM derive a key on its own, over network / ssh, etc. so this is a too broad question for one specific answer. – frostschutz Jul 13 '20 at 13:10