Skip to content

Instantly share code, notes, and snippets.

@bbrodriges
Created August 29, 2014 07:48
Show Gist options
  • Save bbrodriges/3ec9d102a473dd28f33c to your computer and use it in GitHub Desktop.
Save bbrodriges/3ec9d102a473dd28f33c to your computer and use it in GitHub Desktop.
My default Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
VM_NAME = "Rainicorn"
IP_ADDRESS = "192.168.100.3"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = VM_NAME
config.vm.hostname = VM_NAME
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.vm.network "private_network", ip: IP_ADDRESS
config.vm.provider "virtualbox" do |vb|
vb.memory = 256
end
config.vm.define VM_NAME do |name|
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment