Skip to content

Instantly share code, notes, and snippets.

@whiteley
Created March 30, 2016 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whiteley/3763479f9a9b2def10a001f5dafd4052 to your computer and use it in GitHub Desktop.
Save whiteley/3763479f9a9b2def10a001f5dafd4052 to your computer and use it in GitHub Desktop.
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