Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (38 sloc) 1.5 KB
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# The vbguest plugin automatically installs the proper guest utils
# vagrant plugin install vagrant-vbguest
if Vagrant.has_plugin?("vbguest")
config.vbguest.auto_update = true
config.vbguest.iso_path = "{version}/VBoxGuestAdditions_%{version}.iso"
# caching to speed-up box provisioning
# vagrant plugin install vagrant-cachier
if Vagrant.has_plugin?("vagrant-cachier")
# Configure cached packages to be shared between instances of the same base box.
# More info on
config.cache.scope = :box
# provisioning stuff here = "ubuntu/xenial64"
config.vm.define "testbox" do |node|
node.vm.hostname = "testbox"
node.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = "3096"
end "private_network", ip: ""
node.vm.synced_folder '.', '/vagrant'
node.ssh.forward_agent = true
node.ssh.insert_key = true
# Remove all stdin is not a tty errors
node.vm.provision "fix-no-tty", type: "shell" do |s|
s.privileged = false
s.inline = "sudo sed -i '/tty/!s/mesg n/tty -s \\&\\& mesg n/' /root/.profile"
node.vm.provision :shell, :privileged => true, :path => ""
You can’t perform that action at this time.