Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the url to the ubuntu/xenial64 box url for vagrant?

Tags:

vagrant

Where to find the url for the ubuntu/xenial64.box?

I only see version-info at https://app.vagrantup.com/ubuntu/boxes/xenial64. But what is the url for the box download?

I simply do:

$ vagrant init ubuntu/xenial64
$ vagrant up

But get:

The box 'ubuntu/xenial64' could not be found.

So I guess I need to put something in config.vm.box_url, but what?

like image 208
Oscar Avatar asked Sep 16 '17 10:09

Oscar


People also ask

What is vagrant Ubuntu?

Vagrant is an open-source command-line utility that enables Linux users to create and manage virtual machines using the virtualization hypervisors like VirtualBox, VMware and others.

Where are vagrant boxes?

As mentioned in the docs, boxes are stored at: Mac OS X and Linux: ~/. vagrant. d/boxes.

What is vagrant base box?

Boxes are the package format for Vagrant environments. You specify a box environment and operating configurations in your Vagrantfile. You can use a box on any supported platform to bring up identical working environments. To enable teams to use and manage the same boxes, versions are supported.


1 Answers

If you keep clicking around and following the links on the Vagrant Cloud website, then eventually you find that the box is hosted at http://cloud-images.ubuntu.com

From there, you can find the latest version of the xenial box specifically hosted at: http://cloud-images.ubuntu.com/xenial/current/

Direct link to Vagrant box: http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box

like image 199
Matt Schuchard Avatar answered Sep 21 '22 12:09

Matt Schuchard