Last active
April 15, 2021 22:05
-
-
Save mnaser/b09975edeeb68ad6bf955c9b5236b807 to your computer and use it in GitHub Desktop.
Enable UEFI for Mellanox ConnectX cards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt -y install mstflint | |
for i in `lspci | grep Mellanox | cut -d' ' -f1`; do | |
mstconfig -d $i -y set EXP_ROM_UEFI_x86_ENABLE=1 EXP_ROM_PXE_ENABLE=1 UEFI_HII_EN=1; | |
mstconfig -d $i q | egrep (EXP_ROM|UEFI); | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment