how to download vagrant box manually via URL?

2,763 views
Skip to first unread message

Eldad Cohen

unread,
Aug 5, 2015, 10:14:11 AM8/5/15
to Vagrant
How and is it possible to download a box with a URL ,
for example : 


I want to download image from :



Thanks In Advanced,

Alvaro Miranda Aguilera

unread,
Aug 5, 2015, 5:43:26 PM8/5/15
to vagra...@googlegroups.com
On Thu, Aug 6, 2015 at 2:14 AM, Eldad Cohen <eldadc...@gmail.com> wrote:
> https://atlas.hashicorp.com/feu_valbuena

Hello,

You need to open a browser at:

https://atlas.hashicorp.com/feu_valbuena

Then choose the box you want to use.

Say you want to download the test box

That will open a new url:

https://atlas.hashicorp.com/feu_valbuena/boxes/test

Here, you can check:

https://atlas.hashicorp.com/feu_valbuena/boxes/test.json

And choose the box you want to download

Then on command line using curl -L or using the browser you download:

https://atlas.hashicorp.com/feu_valbuena/boxes/test/versions/1.0.0/providers/virtualbox.box

Or,

using vagrant you can do

vagrant init -m feu_valbuena/test
vagrant up

or

vagrant box add feu_valbuena/test

Alvaro.

Eldad Cohen

unread,
Aug 6, 2015, 1:57:49 AM8/6/15
to Vagrant

 Thanks so much on your great Help.

Eldad Cohen

unread,
Aug 6, 2015, 9:27:31 AM8/6/15
to Vagrant
Hi,

Can you please check why this link does not operate.


Thanks a lot

dragon788

unread,
Aug 6, 2015, 11:45:04 AM8/6/15
to Vagrant
Eldad, did the vagrant init and vagrant box add steps posted by Alvaro give you any errors? If so please post them. There are usually a couple ways it can fail, you might be behind a proxy or DNS server that can't resolve atlas properly to grab the box, or the box might not exist anymore (but this would be an Atlas side issue, so very rare).

Alvaro Miranda Aguilera

unread,
Aug 6, 2015, 5:30:16 PM8/6/15
to vagra...@googlegroups.com
Hello,

I wouldn't expect those to work.

as RedHat doesn't allow free distribution.

If you own RedHat licenses/support agreements, I think the best you
can do is build your own boxes.

have a look at packer.io
and examples here:

https://github.com/hashicorp/atlas-packer-vagrant-tutorial

and here

https://github.com/chef/bento
> --
> 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/bc7ab18f-a0a3-4699-a018-6beda65ec75b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Eldad Cohen

unread,
Aug 31, 2015, 9:52:36 AM8/31/15
to Vagrant

Thanks on your help and great info.

  Thanks on your help

dragon788

unread,
Oct 5, 2015, 11:41:09 AM10/5/15
to Vagrant
Another option if you must test RHEL type packages (rpm) but you don't NEED RHEL, is to use a CentOS based image and point it to your RedHat repositories or copy in the rpms and install them on CentOS.
Reply all
Reply to author
Forward
0 new messages