Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Vagrantfile: Ensure network cable is connected #3797

Merged
merged 1 commit into from
Jan 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

# RFC 5737 TEST-NET-1 used to avoid DNS rebind protection
override.vm.network "private_network", ip: "192.0.2.100"

# Workaround for https://www.virtualbox.org/ticket/15705
v.customize ["modifyvm", :id, "--cableconnected1", "on"]
end

config.vm.provider "vmware_fusion" do |v, override|
Expand Down
3 changes: 3 additions & 0 deletions demo/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = ENV["VAGRANT_MEMORY"] || 2048
v.cpus = ENV["VAGRANT_CPUS"] || 2

# Workaround for https://www.virtualbox.org/ticket/15705
v.customize ["modifyvm", :id, "--cableconnected1", "on"]
end

config.vm.provider "vmware_fusion" do |v|
Expand Down