Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (28 sloc) 1.19 KB
#Vagrantfile for building machine from build scripts
Vagrant.configure("2") do |config|
#------------------------- PROVIDER: VIRTUALBOX (USER) ------------------------------
config.vm.provider :virtualbox do |virtualbox|
#config.vm.box = "bento/ubuntu-16.04"
config.vm.box = "ouseful/ou-robotics-test"
#Stick with the default key
config.ssh.insert_key=false
#For local testing:
#config.vm.box_url = "./package.box"
config.vm.hostname = "tm129robot"
virtualbox.name = "tm129robot"
#We need the memory to install scipy and build indexes on seeded mongodb
#After the build it can be reduced back down to 1024
virtualbox.memory = 1024
#virtualbox.cpus = 1
virtualbox.gui = true
#Copy and paste
virtualbox.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
#---- START PORT FORWARDING ----
#Just in case we want to expose the simulator port(s)?
#Jupyter notebook
config.vm.network :forwarded_port, guest: 8888, host: 12980, auto_correct: true
config.vm.network :forwarded_port, guest: 19997, host: 12981, auto_correct: true
#---- END PORT FORWARDING ----
end
#------------------------- END PROVIDER: VIRTUALBOX (USER) ------------------------------
end