On vagrant up keep getting this error:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/vivid64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'ubuntu/vivid64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/ubuntu/vivid64"]
Error: The requested URL returned error: 404 Not Found
I suggest that something is wrong with url, but don't know how to solve it..
You can also try the larryli/vivid64 box.
该框不存在 - url 返回 404。尝试不同的框,例如https://atlas.hashicorp.com/ubuntu/boxes/wily64
You can do one of the following steps:
Replace in the Vagrantfile by this (find equivalent definitions)
Vagrant.configure("2") do |config| config.vm.box = "larryli/vivid64" end
Remove Vagrantfile and create a new one.
rm Vagranfile vagrant init larryli/vivid64 vagrant up
One of the solutions to this is to allow the insecure download, worked for me to download the box
Add this in Vagrantfile config.vm.box_download_insecure = true
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.