Skip to content

Instantly share code, notes, and snippets.

@mnaser
Last active April 15, 2021 22:05
Show Gist options
  • Save mnaser/b09975edeeb68ad6bf955c9b5236b807 to your computer and use it in GitHub Desktop.
Save mnaser/b09975edeeb68ad6bf955c9b5236b807 to your computer and use it in GitHub Desktop.
Enable UEFI for Mellanox ConnectX cards
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