From 78c63888bef19351a8d4302a2270d7778d166e24 Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 17 Mar 2021 22:41:36 +0100 Subject: [PATCH] supermicro ipmi --- bash/generate-supermicro-ipmi-license.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bash/generate-supermicro-ipmi-license.sh 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