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

2016-10-18 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

[vagrant-up] Vagrantfile retrieve vagrant parameter call

2016-10-18 Thread Eric Keller
Hi everyone, Vagrant version Vagrant 1.8.4 *Host operating system* NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/"; SUPPORT_URL="http://help.ubuntu.com/"; BUG_REPORT_URL="http://bugs