Skip to content

Instantly share code, notes, and snippets.

@hardyoyo
Created February 12, 2015 17:25
Show Gist options
  • Save hardyoyo/9ad3d00f17e46569a834 to your computer and use it in GitHub Desktop.
Save hardyoyo/9ad3d00f17e46569a834 to your computer and use it in GitHub Desktop.
addition to Vagrantfile which relies on https://github.com/fgrehm/vagrant-notify (forwards notify-send from the guest to the host), to notify the developer that Vagrant up has completed.
# if we're running with vagrant-notify, send a notification that we're done, in case we've wandered off
if Vagrant.has_plugin?('vagrant-notify')
config.vm.provision :shell, :inline => "notify-send --urgency=critical 'Vagrant-DSpace is up! Get back to work! :-)'", run: "always"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment