Oh god, it's working <https://slackmojis.com/emojis/980-explody_parrot/download>!!! :explody_parrot:
Thanks a lot <3 Le lundi 29 juin 2020 à 18:25:01 UTC+2, [email protected] a écrit : > Hey there, > I believe you can accomplish this using the ruby option > <https://www.vagrantup.com/docs/triggers/configuration#ruby>. For example: > > ``` > config.trigger.after :all do |trigger| > trigger.info = "Trigger trigger" > trigger.ruby do |env, machine| > puts env.cwd > end > end > ``` > > On Monday, June 29, 2020 at 6:42:38 AM UTC-5 Prénom Nom wrote: > >> Hello everybody, >> i'm trying to play with Vagrantfile triggers, and i wonder if there are >> some ways to get current vagrant config, such as "cwd" or "dotfile_path". >> Perhaps something based on Vagrant::Environment, juste like he "@env" >> variable available in plugins commands. >> >> Thx :) >> > -- 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/hashicorp/vagrant/issues Discuss: https://discuss.hashicorp.com/c/vagrant/24 --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/01f8db13-ab00-48d3-9baa-078a41c62b37n%40googlegroups.com.
