Last active
November 6, 2017 09:03
-
-
Save garyachy/b30fc577dd599bd788e166dd9aa6ac6a to your computer and use it in GitHub Desktop.
vagrant configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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.box = "trusty64" | |
config.vm.provision :shell, path: "../bootstrap.sh" | |
config.vm.network "public_network", bridge: "br-1", ip: "192.168.56.1" | |
config.vm.network "public_network", bridge: "br-2", ip: "192.168.57.1" | |
config.vm.network "public_network", bridge: "br-3", ip: "192.168.58.1" | |
config.vm.provider :virtualbox do |vb| | |
# # Don't boot with headless mode | |
# vb.gui = true | |
# | |
# # Use VBoxManage to customize the VM. For example to change memory: | |
vb.customize ["modifyvm", :id, "--memory", "1024"] | |
vb.customize ["modifyvm", :id, "--cpuexecutioncap", "50"] | |
vb.customize ["modifyvm", :id, "--ioapic", "on"] | |
vb.customize ["modifyvm", :id, "--cpus", "4"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where i can find the bootstrap.sh file that you have used in the above vagrant file.