25 lines
698 B
Ruby
25 lines
698 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
if Vagrant::VERSION =~ /^1\.1/
|
|
raise 'This Vagrantfile is meant to be used with Vagrant 1.0'
|
|
end
|
|
|
|
Vagrant::Config.run do |config|
|
|
config.vm.box = "quantal64"
|
|
config.vm.box_url = "https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box"
|
|
|
|
if defined? VagrantVbguest::Config
|
|
config.vbguest.auto_update = false
|
|
config.vbguest.no_remote = true
|
|
end
|
|
|
|
config.vm.network :hostonly, "192.168.33.10"
|
|
config.vm.customize [
|
|
"modifyvm", :id,
|
|
"--memory", 1024,
|
|
"--cpus", "2"
|
|
]
|
|
|
|
config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)
|
|
end
|