bash-stuff/local-sbin/update-clevis-binding
Captain ALM 772287c27f
Update grub configuration.
Added clevis binding auto updating support (Password still required for first unlock).
2024-11-23 18:01:14 +00:00

8 lines
150 B
Bash
Executable File

#!/bin/bash
if [ $# -ne 2 ]; then
echo 'update-clevis-binding <device> <slot>';
exit 1;
fi
/usr/bin/clevis luks regen -q -d "$1" -s "$2"
exit $?;