Skip to content

Instantly share code, notes, and snippets.

@antonellopasella
Created March 29, 2013 08:40
Show Gist options
  • Save antonellopasella/5269518 to your computer and use it in GitHub Desktop.
Save antonellopasella/5269518 to your computer and use it in GitHub Desktop.
Howto setup a "non HDCP" network interface ousing Vagrant
Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", 256]
v.customize ["modifyvm", :id, "--nictype1", "virtio"]
v.customize ["modifyvm", :id, "--nictype2", "virtio"]
v.gui = true # for debug
end
config.vm.network :bridged, :bridge => "en0: Wi-Fi (Airport)", :adapter => 1 # I'm not under DHCP
config.vm.network :private_network, :ip => "192.168.2.100", :nictype => 'virtio', :adapter => 2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment