Skip to content

Instantly share code, notes, and snippets.

@johnfoderaro
Last active December 6, 2017 17:31
Show Gist options
  • Save johnfoderaro/62bb40966fd4d686d2099aaada0a10d1 to your computer and use it in GitHub Desktop.
Save johnfoderaro/62bb40966fd4d686d2099aaada0a10d1 to your computer and use it in GitHub Desktop.
Current Vagrant file that I use for 16.04 VMs on Virtual Box
VM_BOX = 'ubuntu/xenial64'
Vagrant.configure(2) do |config|
config.vm.box = VM_BOX
config.vm.network "private_network", type: "dhcp"
config.vm.provider "virtualbox" do |vb|
vb.memory = 1024
end
config.vm.provision 'shell', inline: <<-SHELL
echo 'ubuntu:ubuntu' | sudo chpasswd
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment