最近流行っている mastodon に pull request を送ったので、 その環境構築などの話です。 環境 macOS Sierra 10.12.4 VirtualBox 5.1.18 Vagrant 1.9.3 vagrant-hostsupdater 1.0.2 https://github.com/tootsuite/mastodon の master 起動まで Development with Vagrant からリンクされている Vagrant guide を参考にして、 環境を構築しました。 初回起動 (vagrant up) 時は vagrant-hostsupdater での sudo に続けて実行されるので気づかなかったのですが、 2 回目に vagrant up した時に /etc/exports の変更のためにも sudo が実行されているのに気づきました。