Re: [vagrant-up] Vagrantfile retrieve vagrant parameter call

2016-10-19 Thread Eric Keller
Hi Torben, thank you so much, the Stackoverflow link did the trick, it's so easy when you know the solution :) have a nice day -- Eric On Tuesday, October 18, 2016 at 7:42:21 PM UTC+2, Torben Knerr wrote: > > Hi Eric, > > if you don't mind installing an extra plugin, then vagrant-triggers might

Re: [vagrant-up] Vagrantfile retrieve vagrant parameter call

2016-10-18 Thread Torben Knerr
Hi Eric, if you don't mind installing an extra plugin, then vagrant-triggers might be your friend: https://github.com/emyl/vagrant-triggers If it's only for that simple case (i.e. detecting "up", but no other state transitition depedencies), then parsing the commandline args via ARGV[0] might be