Created
September 18, 2018 08:15
-
-
Save jamesdube/17702471d7d49a121dd2980413cab107 to your computer and use it in GitHub Desktop.
VMware vmmon module fix
This file contains hidden or 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
#!/bin/bash | |
sudo vmware-modconfig --console --install-all | |
echo "signing vmmon module" | |
sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon) | |
echo "signing vmnet module" | |
sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmnet) | |
echo "importing MOK cert" | |
mokutil --import MOK.der |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment