Created
March 30, 2016 14:43
-
-
Save whiteley/3763479f9a9b2def10a001f5dafd4052 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
remote_file "/Applications/VMware Fusion.app/Contents/Library/vmnet-natd" do | |
source "http://www.vmware.com/go/dl_vmnet-natd" | |
checksum "98228060fcb10b42f42d44d2d81678ddf8fc4e14b1071e20a3ae2add01ef09ae" | |
notifies :run, "execute[stop-vmware-natd]", :immediately | |
notifies :run, "execute[start-vmware-natd]", :immediately | |
end | |
execute "stop-vmware-natd" do | |
action :nothing | |
command ["/Applications/VMware Fusion.app/Contents/Library/vmnet-cli", "--stop"] | |
end | |
execute "start-vmware-natd" do | |
action :nothing | |
command ["/Applications/VMware Fusion.app/Contents/Library/vmnet-cli", "--start"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment