4 lines
243 B
Bash
Executable File
4 lines
243 B
Bash
Executable File
#!/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
|