Created
August 18, 2016 16:25
-
-
Save dimzak/63d7609828f57082e8a0b70f9c0107ba to your computer and use it in GitHub Desktop.
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.define "sloth" do |sloth| | |
# set to false, if you do NOT want to check the correct VirtualBox Guest Additions version when booting this box | |
if defined?(VagrantVbguest::Middleware) | |
sloth.vbguest.auto_update = true | |
end | |
sloth.vm.box = "centos/7" | |
sloth.vm.network :forwarded_port, guest: 5601, host: 5601 | |
sloth.vm.network :forwarded_port, guest: 9200, host: 9200 | |
sloth.vm.network :forwarded_port, guest: 9300, host: 9300 | |
sloth.vm.provider :virtualbox do |vb| | |
vb.customize ["modifyvm", :id, "--cpus", "2", "--memory", "2048"] | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment