Skip to content

Instantly share code, notes, and snippets.

@edgecase1
Created January 2, 2018 09:40
Show Gist options
  • Select an option

  • Save edgecase1/f5ce540e5a25a966937122c3ae622924 to your computer and use it in GitHub Desktop.

Select an option

Save edgecase1/f5ce540e5a25a966937122c3ae622924 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.synced_folder "data", "/vagrant_data", owner: "vagrant", group: "vagrant", mount_options: ["dmode=775,fmode=664"]
config.vm.network "private_network", type: "dhcp", virtualbox__hostonly: "mynetwork"
config.vm.provider "virtualbox" do |vb|
vb.cpus = 2
vb.memory = "4096"
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update & apt-get install -y vim git python-pip python3-pip ansible
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment