Captain ALM
772287c27f
Added clevis binding auto updating support (Password still required for first unlock).
8 lines
150 B
Bash
Executable File
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 $?;
|