Skip to content

Instantly share code, notes, and snippets.

@lucazz
Created July 13, 2016 20:03
Show Gist options
  • Save lucazz/240b2741eaf52bdbea55e644bd48d31a to your computer and use it in GitHub Desktop.
Save lucazz/240b2741eaf52bdbea55e644bd48d31a to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "boxcutter/ubuntu1604"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.aliases = "ubuntu.dev"
config.vm.synced_folder ".", "/opt/data", type: "nfs"
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y nginx
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment