iMac:project satoh$ vagrant box add bento/centos-6.7
The box 'bento/centos-6.7' 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/bento/centos-6.7"]
Error:
どうしても、boxをダウンロードできません。表示されてるURLには確かに何やらファイル等があります。調べてみたら、curlが原因だったようです。。
The box 'hashicorp/precise32' could not be found
https://github.com/mitchellh/vagrant/issues/5016
ようはこれでなおりました。
as root with sudo (deactivated to bad ones provided with vagrant)
sudo mv /opt/vagrant/embedded/bin/curl /opt/vagrant/embedded/bin/curl_orig
sudo mv /opt/vagrant/embedded/bin/curl-config /opt/vagrant/embedded/bin/curl-config_orig
symlink the good one from brew
sudo ln -s /usr/bin/curl /opt/vagrant/embedded/bin/curl
sudo ln -s /usr/bin/curl-config /opt/vagrant/embedded/bin/curl-config