Skip to content

Instantly share code, notes, and snippets.

@marcospereira
Created October 23, 2017 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcospereira/a80b395f09e9d4efcb746be1570e7f84 to your computer and use it in GitHub Desktop.
Save marcospereira/a80b395f09e9d4efcb746be1570e7f84 to your computer and use it in GitHub Desktop.
Simple Vagrant file to create a Ubuntu 16.04 box
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 9000, host: 9090
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y vim git git-core lynx
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment