Unable to use any vm box

12 views
Skip to first unread message

Swarag Narayanasetty

unread,
Apr 1, 2020, 5:16:26 AM4/1/20
to Vagrant
Hi,

i tried installing a box for a online course and there was a box,
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
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 list
jasonc
/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 

 


Alvaro Miranda Aguilera

unread,
Apr 2, 2020, 6:58:59 AM4/2/20
to vagra...@googlegroups.com
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.

--
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+...@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.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages