Hooks

5 views
Skip to first unread message

Michel Chouinard

unread,
May 28, 2017, 1:44:21 PM5/28/17
to Vagrant
Hi,

Reading the documentation about plugins development I remark that all hooks are for after an action took place.

I'm not actually a plugin developer.  Not much time to give it a try but...

Working with an existing plugin, having trouble with it on the destroy of my machine.  I then decided to check the plugin code and nothing could be done directly in the plugin.  It work fine according to what is available.

My suggestion would be for vagrant to give hooks for before an action take place.  Example: machine_action_halt could have a machine_action_before_halt that would be triggered before halting the machine, etc...

Just my two cents ;)

Alvaro Miranda Aguilera

unread,
May 29, 2017, 5:15:10 AM5/29/17
to vagra...@googlegroups.com

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/69cc9760-0067-4710-8010-167546929fbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages