Hello

You can download the box file and add it with a local name

vagrant box add --name centos file.box

then you can update the Vagrantfile to use this name,  centos

in this way you will be sure its using the local box.

If you want to update the local box, then you can replace the file with

vagrant box add --force --name centos file.box


thanks
alvaro.

On Wed, Apr 1, 2020 at 11:16 AM Swarag Narayanasetty <
swaragcrash...@gmail.com> wrote:

> Hi,
>
> i tried installing a box for a online course and there was a box,
> https://app.vagrantup.com/jasonc/boxes/centos7
> since i from from india the download speed is limited to 1000/s when i use 
> vagrant
> box add jasonc/centos7 . The prompt says it would take about 30 hrs to
> complete download.
> so i downloaded the box manually from there and installed according the
> answer in stack overflow
>
> https://stackoverflow.com/questions/28399324/download-vagrant-box-file-locally-from-atlas-and-configuring-it
> so after i did that part
>
> when i start the box i would get this error:
>
> C:\Users\ACER AVENGER\shellclass\test01>vagrant up
> Bringing machine 'default' up with 'virtualbox' provider...
> ==> default: Importing base box 'jasonc/centos7'...
> ==> default: Matching MAC address for NAT networking...
> ==> default: Checking if box 'jasonc/centos7' version '1.4.4' is up to
> date...
> The box 'jasonc/centos7' is not a versioned box. The box was added
> directly instead of from a box catalog. Vagrant can only
> check the versions of boxes that were added from a catalog
> such as from the public Vagrant Server.
>
>
>
>
>
>
>
> *C:\Users\ACER AVENGER\shellclass\test01>vagrant box listjasonc/centos7
> (virtualbox, 1.4.4)*
>
> I tried updating the box but the same error keeps me from doing that,
>
> Any way solve this issue by not downloading the source once again through
>>
>>  vagrant box add jasonc/centos7
>>
>> by changing configuration file .
>>
>> thanks in advance.
>
>
> my issue is similar to
>
> https://laracasts.com/discuss/channels/laravel/version-error-after-homestead-box-direct-install
>
>
>
>
> --
> 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 vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/40676dd2-b675-47a5-85fd-296b142016ad%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/40676dd2-b675-47a5-85fd-296b142016ad%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Alvaro

-- 
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 vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezyPUEbkiSXBGcjX86CWYNkWMOhsE5N97GzDh0VcfSnbw%40mail.gmail.com.

Reply via email to