Skip to content

Instantly share code, notes, and snippets.

@nicopaez
Last active May 25, 2019 15:04
Show Gist options
  • Save nicopaez/e6f8182217a39e99608b04a22de996aa to your computer and use it in GitHub Desktop.
Save nicopaez/e6f8182217a39e99608b04a22de996aa to your computer and use it in GitHub Desktop.
Vagrantfile for NicoPaez DevOps Tutorial
# Instructions:
# 1. Copy this file to your computer
# 2. Open a terminal in the location where you place the file
# 3. Execute the following command (it will take a couple of minutes): vagrant up
# 4. If everything went Ok then you should see the message: Welcome to NicoPaez DevOps tutorial
# 5. Execute the following command (it should run inmediately): vagrant ssh
# 6. If everything went Ok then you should see the message: Welcome to Ubuntu 14.04.....
# 7. To finish execute: exit and then vagrant destroy
# If something fails please contact Nico
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "minimal/trusty64"
config.vm.provider "virtualbox" do |vb|
vb.memory = "512"
vb.customize ["modifyvm", :id, "--usb", "off"]
vb.customize ["modifyvm", :id, "--usbehci", "off"]
end
config.vm.provision "shell", inline: <<-SHELL
echo "Welcome to NicoPaez DevOps tutorial"
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment