Hello, try with:
config.vm.box_check_update = true I believe the proper way of doing it, is mimic what vagrantcloud/atlas do, and replace the url with: VAGRANT_SERVER_URL so your json should be at a level like this: https://vagrantcloud.com/kikitux/boxes/oracle6.json this is something done in php if you want to have a look for ideas https://github.com/SiphonSquirrel/vagrant-personal-cloud On Sun, Jan 11, 2015 at 4:35 AM, Erik Simmler <[email protected]> wrote: > That kinda works, though vagrant complains ("The box you're adding has a > name different from the name you > requested.") if the name in metadata.json doesn't match the value of > config.vm.box. In other words it needs to be the full path to the file. > > Even if I go along with that, it still never seems to check the version > after the machine is initially created. I feel as if I'm missing something > fundamental here. The docs ( > https://docs.vagrantup.com/v2/vagrantfile/machine_settings.html) seem to > indicate that vagrant will check the box version (I even set > "box_check_update" to be sure). The documentation is a bit sparse on how to > actually set this up without using Atlas. > > For now I simply added a tiny bit of manual version checking ruby to the > top of the Vagrantfile, but I'm still curious about what I'm doing wrong. > > Thanks! - Erik > > > On Friday, January 9, 2015 at 10:54:32 PM UTC-5, Alvaro Miranda Aguilera > wrote: >> >> sorry >> >> to >> >> config.vm.box_version = "1" >> config.vm.box = "file://" + dir + "/packer/metadata.json" >> >> -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
