Skip to content

Commit

Permalink
Upgrade to Vagrant 0.9.x in hopes to work around Vagrant issue #516
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Feb 27, 2012
1 parent e451927 commit de56c03
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
14 changes: 1 addition & 13 deletions Gemfile
@@ -1,15 +1,3 @@
source :rubygems


gem "vagrant", ">= 0.8.7"

platform :jruby do
gem "jruby-openssl"
end

group :development do
platform :mri do
gem "rdiscount"
end
gem "yard", ">= 0.7.2"
end
gem "vagrant", "~> 0.9.0"
25 changes: 20 additions & 5 deletions Vagrantfile.sample
Expand Up @@ -7,12 +7,27 @@ Vagrant::Config.run do |config|
# config.vm.box_url = "http://files.travis-ci.org/boxes/bases/oneiric32_base.box"


config.vm.forward_port 'ssh', 22, 2220
#
# For Vagrant 0.9.x
#

config.vm.forward_port 22, 2220

config.vm.customize do |vm|
vm.memory_size = 768
vm.cpu_count = 2
end
config.vm.customize ["modifyvm", :id, "--memory", "1024"]
# partially helps with Vagrant issue #516, VirtualBox NAT interface chokes when
# # of slow outgoing connections is large (in dozens or more).
config.vm.customize ["modifyvm", :id, "--nictype1", "Am79C973"]

#
# For Vagrant 0.8.x
#

# config.vm.forward_port 'ssh', 22, 2220
#
# config.vm.customize do |vm|
# vm.memory_size = 768
# vm.cpu_count = 2
# end

config.vm.provision :chef_solo do |chef|
# you can use multiple cookbook locations if necessary.
Expand Down

0 comments on commit de56c03

Please sign in to comment.