0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[ MAC ] Vagrantで共有ディレクトリのパス変更したらエラーになった

Posted at

こんな感じになった。
image.png
vagrant と共有しているディレクトリの設定は/ext/exportsファイルに書き込まれてしまっているので、そこを手動で変更してあげることで解決できる。

sudo vi /ext/exports
/etc/exports
# VAGRANT-BEGIN: 501 2d073983-50c8-4390-ba74-0eec783b6ac7
"/xxxxx/xxxxx/xxxxx/xxxxx/htdocs" -alldirs -mapall=501:20 192.168.33.10
"/xxxxx/xxxxx/xxxxx/xxxxx/nginx/conf" -alldirs -mapall=501:20 192.168.33.10
"/xxxxx/xxxxx/xxxxx/xxxxx/nginx/log" -alldirs -mapall=501:20 192.168.33.10
# VAGRANT-END: 501 2d073983-50c8-4390-ba74-0eec783b6ac7

以下略

めでたし。

0
0
0

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?