Skip to content
Snippets Groups Projects
Commit 8aa6bc60 authored by Pascal Wiedenbeck's avatar Pascal Wiedenbeck
Browse files

Add Vagrantfile.dist to be packaged with the base box

parent 72e1ec53
No related branches found
No related tags found
No related merge requests found
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network :private_network, ip: "10.10.0.2", auto_config: false
config.vm.provider "virtualbox" do |v|
v.cpus = 3
v.memory = 4096
# Use max 50% of cpu
v.customize ["modifyvm", :id, "--cpuexecutioncap", "50"]
# Needed to enable symlinks in VirtualBox shared folders
v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
# The following lines are stolen from https://github.com/flix-tech/vagrant-kubernetes
# Set the vboxnet interface to promiscous mode so that the docker veth
# interfaces are reachable
v.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
# Otherwise we get really slow DNS lookup on OSX (Changed DNS inside the machine)
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment