Skip to content

Instantly share code, notes, and snippets.

@fh
Last active December 23, 2015 09:35
Show Gist options
  • Save fh/6182091 to your computer and use it in GitHub Desktop.
Save fh/6182091 to your computer and use it in GitHub Desktop.
Provisioning Shell Script inline
Vagrant.configure("2") do |config|
config.vm.box = "precise"
end
script = <<SCRIPT
apt-get update
SCRIPT
Vagrant.configure("2") do |config|
config.vm.provision :shell, :inline => script
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment