Error: Vagrant box respository

Message

➜  testva vagrant init ubuntu/xenial64
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
➜  testva vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/xenial64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'ubuntu/xenial64' 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/xenial64"]
Error: Could not resolve host: atlas.hashicorp.com

Ubuntu 17.10 기본 apt install vagrnat 설치할 때 리포지터리 URL문제

설정을 변경해주거나 vagrant 공식 사이트에서 deb를 다운받아 설치하면 해결

vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/xenial64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/xenial64'
    default: URL: https://vagrantcloud.com/ubuntu/xenial64
==> default: Adding box 'ubuntu/xenial64' (v20180302.0.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/ubuntu/boxes/xenial64/versions/20180302.0.0/providers/virtualbox.box
==> default: Successfully added box 'ubuntu/xenial64' (v20180302.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/xenial64'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: docker-ub

주소가 바뀌었다.

https://atlas.hashicorp.com/ubuntu/xenial64

https://vagrantcloud.com/ubuntu/xenial64

Vagrant global 설정 변경

??어뜨케 하나

/home/{USERNAME}/.vagrant.d/data/checkpoint_cache??

아닌것같고… 확인필요

Vagrantfile 변경

https://www.vagrantup.com/docs/vagrantfile/machine_settings.html

config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.box_url = "https://vagrantcloud.com/ubuntu/xenial64"

공식 사이트에서 deb설치

그냥 새로 깔았다.

찾으려면 설치경로 전체에서 문자열 검색해야할 것 같다.