LoginSignup
19
21

More than 5 years have passed since last update.

Mac OS XでVagrantを入れようとした時に出たエラー

Posted at
$ vagrant box add centos64box https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box
==> box: Adding box 'centos64box' (v0) for provider: 
    box: Downloading: https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box
The box you're attempting to add already exists. Remove it before
adding it again or add it with the `--force` flag.
Name: centos64box
Provider: virtualbox
Version: 0

Googleで検索したらVagrant日本語ドキュメントのhttp://lab.raqda.com/vagrant/installation/uninstallation.htmlに
すべてのプラットフォームにおいて、ユーザデータを削除するには~/.vagrant.dディレクトリを削除します。
という部分があったので、

$rm -r ~/.vagrant.d/

と打ち込んでもう一度

vagrant box add centos64 https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box

とすると

box: Successfully added box 'centos64box' (v0) for 'virtualbox'!

と出てくれた。

19
21
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
21