Last active
November 21, 2019 02:01
-
-
Save mrlesmithjr/f9eab5a9cacf4cd36f7dc6a3c25c59b0 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
SERIAL_NUMBER="XXXX-yyyy-XXXX" | |
if [ ! -f $HOME/Downloads/vmware_workstation.sh ]; then | |
curl --progress-bar --proto-redir -all,https \ | |
--max-redirs 1 --location \ | |
--output $HOME/Downloads/vmware_workstation.sh \ | |
--url https://www.vmware.com/go/getWorkstation-linux | |
fi | |
chmod +x $HOME/Downloads/vmware_workstation.sh | |
sudo $HOME/Downloads/vmware_workstation.sh --eulas-agreed \ | |
--console --required \ | |
--set-setting vmware-workstation serialNumber $SERIAL_NUMBER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment