Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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