I had trouble updating existing boxes, even though I am on the most recent 
version of Vagrant (v2.0.2). When I ran `vagrant box update`, Vagrant was 
looking for box metadata at atlas.hashicorp.com instead of vagrantcloud.com.

Here's how I solved the problem on macOS:

`~/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-xenial64/metadata_url` contained 
`https://atlas.hashicorp.com/ubuntu/xenial64`. I updated it to 
`https://vagrantcloud.com/ubuntu/xenial64` and now `vagrant box update` 
works again.

On Wednesday, January 24, 2018 at 7:58:26 AM UTC-8, Justin Campbell wrote:
>
> If you're using Vagrant >= 1.9.6, you can safely ignore this notice. 
> Otherwise, please read on for affected versions and a workaround.
>
> For a period of time, Vagrant was released with a default Vagrant Cloud 
> URL of https://atlas.hashicorp.com. Support for downloading Vagrant boxes 
> from this domain will be removed on Friday, February 2nd, 2018. The correct 
> URL is https://vagrantcloud.com.
>
> Affected Vagrant versions and release dates:
>
> >= 1.7.0 (12/9/2014),
> < v1.9.6 (6/28/2017)
>
> We recommend that you upgrade to the latest version of Vagrant (2.0.1) at 
> https://www.vagrantup.com/downloads.html
>
> If you'd like to continue using the versions mentioned above, you'll need 
> to set the VAGRANT_SERVER_URL environment variable in order for box 
> downloads/updates to continue working:
>
>     # macOS and Linux
>     export VAGRANT_SERVER_URL="https://vagrantcloud.com";
>
>     # Windows (CMD)
>     set VAGRANT_SERVER_URL="https://vagrantcloud.com";
>
>     # Windows (Powershell)
>     $env:VAGRANT_SERVER_URL="https://vagrantcloud.com";
>
> If you have any questions or concerns, you can reply here, or email 
> [email protected] <javascript:>.
>
> Thanks! -Justin
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/a91573e6-9ac4-4058-a335-f251a85b7017%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to