LoginSignup
42

More than 5 years have passed since last update.

posted at

Vagrantのboxなどが格納されるディレクトリを変更する

Vagrantはダウンロードされたboxなどの情報を標準では下記のパスに格納する。

Mac
*/Users/hogehoge/.vagrant.d

Windows
*C:\Documents and Settings/hogehoge/.vagrant.d

ユーザー名に空白や全角文字が含まれているとバージョンによってはうまく動作しない場合がある。これを回避するにはユーザー名を変更するか環境変数 VAGRANT_HOME をセットする事で任意のパスに情報の格納先などを変更できる。

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
What you can do with signing up
42