Skip to content

Instantly share code, notes, and snippets.

@timothyshort
Created January 27, 2018 04:03
Show Gist options
  • Save timothyshort/4918d021362273f7b87b4b98dbed0fcf to your computer and use it in GitHub Desktop.
Save timothyshort/4918d021362273f7b87b4b98dbed0fcf to your computer and use it in GitHub Desktop.
Add this provisioning script to enable the network adapters for Vagrant / VirtualBox that will allow for SSH
config.vm.provider "virtualbox" do |vb|
### Change network card to PCnet-FAST III
# For NAT adapter
vb.customize ["modifyvm", :id, "--nictype1", "Am79C973"]
# For host-only adapter
vb.customize ["modifyvm", :id, "--nictype2", "Am79C973"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment