2013-04-04 14:52:39 -03:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant::Config.run do |config|
|
|
|
|
config.vm.box = "ubuntu-12.04-32bit"
|
|
|
|
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
|
|
|
|
|
2013-04-29 04:06:32 -03:00
|
|
|
config.vm.share_folder("ardupilot", "/home/vagrant/ardupilot", ".")
|
2013-04-04 14:52:39 -03:00
|
|
|
|
|
|
|
# Allow symlinks
|
|
|
|
config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/cross-compiler", "1"]
|
|
|
|
# Otherwise the compile will go into swap, making things slow
|
|
|
|
config.vm.customize ["modifyvm", :id, "--memory", "2048"]
|
|
|
|
end
|
|
|
|
|