diff --git a/bash/generate-supermicro-ipmi-license.sh b/bash/generate-supermicro-ipmi-license.sh new file mode 100644 index 0000000..1ea700a --- /dev/null +++ b/bash/generate-supermicro-ipmi-license.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# generates ipmi-licenses (needed for bios update) for supermicro-boards from the BCM's MAC-Addr +echo -n 'bmc-mac' | xxd -r -p | openssl dgst -sha1 -mac HMAC -macopt hexkey:8544E3B47ECA58F9583043F8 | awk '{print $2}' | cut -c 1-24