Skip to content

Instantly share code, notes, and snippets.

@kotnik
Created August 9, 2013 06:48
Show Gist options
  • Save kotnik/6191642 to your computer and use it in GitHub Desktop.
Save kotnik/6191642 to your computer and use it in GitHub Desktop.
Simple sample Vagrantfile.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "precise64"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network :private_network, :ip => "192.168.100.100"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment