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.