Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Fix DNS guest resolving problem #6

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions icinga1x/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network :forwarded_port, guest: 8080, host: 8082, auto_correct: true #tomcat
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
# Using the host's resolver as a DNS proxy in NAT mode
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
config.vm.provision :puppet do |puppet|
puppet.module_path = "modules"
Expand Down
2 changes: 2 additions & 0 deletions icinga2x-cluster/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

v.customize ["modifyvm", :id, "--memory", "1024"]
v.customize ["modifyvm", :id, "--cpus", "2"]
# Using the host's resolver as a DNS proxy in NAT mode
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end

# provisioner
Expand Down
2 changes: 2 additions & 0 deletions icinga2x-graylog/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

v.customize ["modifyvm", :id, "--memory", "1024"]
v.customize ["modifyvm", :id, "--cpus", "2"]
# Using the host's resolver as a DNS proxy in NAT mode
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end

# provisioner
Expand Down
2 changes: 2 additions & 0 deletions icinga2x/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

v.customize ["modifyvm", :id, "--memory", "1024"]
v.customize ["modifyvm", :id, "--cpus", "2"]
# Using the host's resolver as a DNS proxy in NAT mode
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end

# provisioner
Expand Down
2 changes: 2 additions & 0 deletions modules/graylog2/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,7 @@ Vagrant.configure('2') do |config|
config.vm.provider 'virtualbox' do |v|
v.memory = 2048
v.cpus = 2
# Using the host's resolver as a DNS proxy in NAT mode
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
end