From 43f895212e6cf0e5d14df5c2ff8540343562efcb Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sat, 31 Oct 2015 11:25:43 +1100 Subject: [PATCH] reboot-no-passphrase always use last key slot --- systemd/system/disable-crypto_keyfile@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.39.2