6
votes

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?

2

2 Answers

6
votes

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

0
votes

Sorry, was version mismatch. Newer vagrant works just fine. I had Vagrant 1.4.x (on linux mint 17.1) and virtualbox 5. Online boxes were not found. Now I have Vagrant 1.8.1 (on linux mint 18.2) and virtualbox 5 and everything works as expected from the Vagrant manual (no url needed).

Thanks and sorry for waisting your time..

-- Oscar.