vagrant1.8.7で発生するvagrant box addのエラー

vagrantのバージョンを1.8.7にアップデートし、いざboxを追加しようとしたら以下のエラーが発生…。

実行環境

  • macOS 10.12.1
  • vagrant 1.8.7

エラー内容

 $ vagrant box add laravel/homestead
The box 'laravel/homestead' 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/laravel/homestead"]
Error: 


対策

以下のCurlを一度削除するとうまくいくらしい。
 $ sudo rm -rf /opt/vagrant/embedded/bin/curl

元ネタ【1.8.7 fails to download or update boxes】
https://github.com/mitchellh/vagrant/issues/7969

コメント

このブログの人気の投稿

HealKit HKObjectType 一覧

クラッシュ時のスタックトレース取得方法

appledocの導入方法