#!/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 $?;