Hi Mahmood,

On Mon, Mar 19, 2018 at 1:03 AM, Mahmood Naderan <[email protected]>
wrote:

> Hi,
> I have defined an environment variable like this
>
> export DCOS_BOX_URL="dcos-centos-virtualbox-0.9.2.box"
>
> However, Vagrant complains with the following error
>
> ==> m1: Box 'mesosphere/dcos-centos-virtualbox' could not be found.
> Attempting to find and install...
>     m1: Box Provider: virtualbox
>     m1: Box Version: ~> 0.9.2
> ==> m1: Box file was not detected as metadata. Adding it directly...
> You specified a box version constraint with a direct box file
> path. Box version constraints only work with boxes from Vagrant
> Cloud or a custom box host. Please remove the version constraint
> and try again.
>
>
> Does that mean I can not use the box file offline? Is that mandatory
> to use online installation?
>


It looks like you just need to remove the "version constraint" from your
Vagrantfile. Then you should be able to add a box from disk.

Thanks!


>
>
> Regards,
> Mahmood
>
> --
> 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/CADa2P2V7G3unxxQS3S1UjidaCy5jD
> xZPG0jeZgLNq7tZxOZvjg%40mail.gmail.com.
> 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/CADHESCWOk1m%2BxwkKx_6ZKTtqi2O2WLXJF64tr42dKsnfSRchmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to