Skip to content

Instantly share code, notes, and snippets.

@rjocoleman
Created February 22, 2014 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjocoleman/9161682 to your computer and use it in GitHub Desktop.
Save rjocoleman/9161682 to your computer and use it in GitHub Desktop.
Reproduce RHEL/Fedora slow DNS under virtualbox
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# config.vm.box = 'opscode_centos-6.5'
# config.vm.box_url = 'http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box'
# config.vm.box = 'packer_centos-6.5'
# config.vm.box_url = 'builds/virtualbox/opscode_centos-6.5-i386_chef-provisionerless.box'
# config.vm.box = 'opscode_fedora-19'
# config.vm.box_url = 'http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-19_chef-provisionerless.box'
config.vm.box = 'packer_fedora-19'
config.vm.box_url = 'builds/virtualbox/opscode_fedora-19_chef-provisionerless.box'
# config.vm.box = 'opscode_fedora-20'
# config.vm.box_url = 'http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-20_chef-provisionerless.box'
# config.vm.box = 'packer_fedora-20'
# config.vm.box_url = 'builds/virtualbox/opscode_fedora-20_chef-provisionerless.box'
script = <<SCRIPT
while :
do
curl -o /dev/null https://google.com -w ""
done
SCRIPT
config.vm.provision 'shell', inline: script
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment