Skip to content

Instantly share code, notes, and snippets.

@cornernote
Last active August 29, 2015 14:24
Show Gist options
  • Save cornernote/7571c67783b60f72884c to your computer and use it in GitHub Desktop.
Save cornernote/7571c67783b60f72884c to your computer and use it in GitHub Desktop.
# -*- 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 = "ubuntu/trusty64"
# private network (replace XXX)
config.vm.network :private_network, ip: "192.168.33.XXX"
config.vm.hostname = "192.168.33.XXX.xip.io"
# public network (replace XXX)
#config.vm.network "public_network", ip: "192.168.2.XXX"
#config.vm.hostname = "192.168.2.XXX.xip.io"
# cpu and memory
config.vm.provider "virtualbox" do |v|
v.cpus = 2
v.memory = 2048
#v.gui = true # show a screen
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment