diff options
author | Sebastin Santy <sebastinssanty@gmail.com> | 2017-05-19 01:26:45 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-05-19 01:26:45 +0200 |
commit | d7e7c68ec34a994e2b089c5db1986031a6399a9a (patch) | |
tree | f7b7b4505527f2724dc55c983d287c08c48b3eca /Vagrantfile | |
parent | 3a372a916f3545d37390f692f24f7e1c4d5351b5 (diff) | |
download | bugzilla-d7e7c68ec34a994e2b089c5db1986031a6399a9a.tar.gz bugzilla-d7e7c68ec34a994e2b089c5db1986031a6399a9a.tar.xz |
Ensure internet connectivity in vagrant / virtualbox (#81)
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile index 642fe2f92..96faf1392 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -59,6 +59,12 @@ Vagrant.configure('2') do |config| auto_correct: true db.vm.synced_folder '.', '/vagrant', type: 'rsync', rsync__args: RSYNC_ARGS + + db.vm.provider "virtualbox" do |v| + v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] + v.customize ["modifyvm", :id, "--natdnsproxy1", "on"] + end + db.vm.provider 'parallels' do |prl, override| override.vm.box = 'parallels/centos-6.8' end @@ -85,6 +91,8 @@ Vagrant.configure('2') do |config| web.vm.provider 'virtualbox' do |v| v.memory = WEB_MEM v.cpus = WEB_CPU + v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] + v.customize ["modifyvm", :id, "--natdnsproxy1", "on"] end web.vm.provider 'parallels' do |prl, override| |