Skip to content

Instantly share code, notes, and snippets.

@moutons
Created January 13, 2015 23:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moutons/ef53b0c5ae1eeffd59a5 to your computer and use it in GitHub Desktop.
Save moutons/ef53b0c5ae1eeffd59a5 to your computer and use it in GitHub Desktop.
example Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "chef/ubuntu-14.04"
config.vm.network "public_network"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo dpkg -i /vagrant/chefdk_0.3.5-1_amd64.deb
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment