1. add a new key to the LUKS partition and prepare mandos snippet:
t=`tempfile` &&
dd if=/dev/random bs=1 count=128 of="$t" &&
cryptsetup luksAddKey /dev/sda2 "$t" &&
mandos-keygen --passfile "$t"
(umask 077 &&
t=`tempfile` &&
dd if=/dev/random bs=1 count=128 of="$t" &&
cryptsetup luksAddKey /dev/sda2 "$t" &&
mandos-keygen --passfile "$t"
)
1. add the output of `mandos-keygen` to `/etc/mandos/clients.conf` on the mandos-server and `service mandos restart` and `puppet agent -t` (to update the firewall after you added the host to ldap)
1. add the output of `mandos-keygen` from above to `/etc/mandos/clients.conf` on the mandos-server and `service mandos restart` and `puppet agent -t` (to update the firewall after you added the host to ldap)
1. rebuild the initrd on the new host `update-initramfs -u` and reboot