Created
January 28, 2018 04:23
-
-
Save wwiv/5ea1ccd99e6fa6475ca0808914a21005 to your computer and use it in GitHub Desktop.
Workaround vmware fusion networking not working after sleeping your mac in 10.1
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
#!/bin/bash | |
# See https://communities.vmware.com/thread/580365 | |
UUID=$(id -u) | |
if [[ "${UUID}" -ne 0 ]]; then | |
echo "You must be root to run this, not $(id -u -n), id: ${UUID}" | |
exit 1 | |
fi | |
/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop | |
/Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment