[vagrant-up] Conditionally Network configuration in vagrantfile

2016-01-16 Thread govind parashar
Hello I want to do conditionally network configuration in vagrantfile but my condition (ENV['ENV'] == 'local') always getting false. can someone plese suggest me what is wrong in this This is my code Vagrant.configure(2) do |config| config.vm.box = "vStone/centos-7.x-puppet.3.x"

Re: [vagrant-up] Vagrant up error Windows 7

2016-01-16 Thread Alvaro Miranda Aguilera
Hello. My bad, I did a typo. Can you open in a web browser the following: https://atlas.hashicorp.com/hashicorp/boxes/precise32.json If that open, then please try this: mkdir precise32 cd precise32 vagrant init -m hashicorp/precise32 vagrant up If still gives error, please do this: vagrant

[vagrant-up] Re: Options via browser to shutdown VM

2016-01-16 Thread Edgar Oliveira
Hello Alvaro, I am always learn with you :) Thank you for your advice. I am studying this examples "http://www.yolinux.com/TUTORIALS/BashShellCgi.html;. Because the article which share with me yet are advanced for me. Not yet I explored the site but If you can help me, I will appreciate.

Re: [vagrant-up] Conditionally Network configuration in vagrantfile

2016-01-16 Thread Alvaro Miranda Aguilera
hello, probably ENV is a reserved word Can you try with a different name for that var? On Sun, Jan 17, 2016 at 3:28 AM, govind parashar wrote: > Hello > > I want to do conditionally network configuration in vagrantfile but my > condition (ENV['ENV'] == 'local')

Re: [vagrant-up] Vagrant up error Windows 7

2016-01-16 Thread Alexandra Stanciu
I'm getting the same exact error, i can connect to http://atlas.hashicorp.com/hahicorp/precise32.json and it returns { - errors: [ - "Not found" ] } On Sunday, 27 December 2015 11:49:42 UTC+2, Alvaro Miranda Aguilera wrote: > > Hello > > Vagrant try to connect to >

Re: [vagrant-up] Options via browser to shutdown VM

2016-01-16 Thread Alvaro Miranda Aguilera
Hello Edgard Seems I sent an incomplete message. I did this project for you: https://github.com/kikitux/precise64-cgi-bin check the provision.sh and the cgi-bin folder you can visit: http://localhost:8080/cgi-bin/poweroff.sh And that will poweroff the machine. Let me know if that is what you