From: James Bunton Date: Sat, 31 Oct 2015 00:25:43 +0000 (+1100) Subject: reboot-no-passphrase always use last key slot X-Git-Url: https://code.delx.au/monosys/commitdiff_plain/43f895212e6cf0e5d14df5c2ff8540343562efcb reboot-no-passphrase always use last key slot --- diff --git a/systemd/system/disable-crypto_keyfile@.service b/systemd/system/disable-crypto_keyfile@.service index 26ce006..19dd58f 100644 --- a/systemd/system/disable-crypto_keyfile@.service +++ b/systemd/system/disable-crypto_keyfile@.service @@ -4,7 +4,7 @@ After=basic.target [Service] Type=oneshot -ExecStart=/bin/cryptsetup luksRemoveKey /dev/disk/by-uuid/%i /crypto_keyfile.bin +ExecStart=/bin/cryptsetup luksRemoveKey /dev/disk/by-uuid/%i /crypto_keyfile.bin --key-slot 7 SuccessExitStatus=2 [Install]