Hey there,
There's no magic or anything special here. I just defined a guest named
"oracle" in my Vagrantfile with the box "generic/oracle7":
config.vm.define "oracle" do |b|
b.vm.box = "generic/oracle7"
b.vm.provider :virtualbox
end
The difference being: Without the --box flag, the update command updates
boxes associated with guests in your Vagrantfile.
So in this case I defined a guest named "oracle" which used the
"generic/oracle7" box. That flag is useful for when you
want to update a box but maybe don't have a guest associated with it.
Hope that clears things up!
On Wed, Apr 24, 2019 at 2:40 PM cmucluser <[email protected]> wrote:
> A question, not quite related to this bug: where is the translation
> between the module "descriptors" happening?
>
> I.e. I can use 'box update --box generic/oracle7' and you just used
> 'box update oracle', and somehow 'vagrant' was able to translate the
> short 'oracle' used in your command to the long 'generic/oracle7' used
> in mine. What dictionary was used for that translation?
>
> Thanks!
>
> -- Alex
>
> On Tuesday, April 23, 2019 at 7:32:49 PM UTC-4, cmucluser wrote:
>>
>> How does 'vagrant' determine the "Latest installed version" of a box? Where
>> is that info stored?
>> I can't find anything appropriate under '~/vagrant.d' (and am facing a
>> problem related to that.)
>>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/d1f5e5a9-153f-48bf-a265-a11d5d50f3a0%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/d1f5e5a9-153f-48bf-a265-a11d5d50f3a0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Brian Cain
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CADHESCWWHmO2MZtToxstq8WY_G_0azn25YnEWfnq5AX8MeAoTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.