Skip to content

Instantly share code, notes, and snippets.

@ricsiga
Created August 29, 2018 11:00
Show Gist options
  • Save ricsiga/729875c43292cebf6d8b01b1e21eae49 to your computer and use it in GitHub Desktop.
Save ricsiga/729875c43292cebf6d8b01b1e21eae49 to your computer and use it in GitHub Desktop.
Vagrat file template
# 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/xenial64" #ubuntu/xenial64
config.vm.network "private_network", ip: "10.0.100.102"
config.vm.network "public_network", bridge: 'en0: Wi-Fi (AirPort)'
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 2
end
config.vm.provision "shell", inline: "apt-get update && apt-get install -y locales && locale-gen en_US.UTF-8 && apt-get -y upgrade"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment