Skip to content

Instantly share code, notes, and snippets.

@parshap
Created December 8, 2013 23:49
Show Gist options
  • Save parshap/7865285 to your computer and use it in GitHub Desktop.
Save parshap/7865285 to your computer and use it in GitHub Desktop.
Vagrant hooks
class Plugin < ::Vagrant.plugin("2")
name "build"
action_hook('build') do |hook|
hook.after(Vagrant::Action::Builtin::Provision, 2) do
system("bash build.sh")
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment