/vagrantディレクトリにカレントディレクトリがマウントされない
vagrant upを行うと以下のメッセージが表示される
$ vagrant up
・・・
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
vboxをリビルドする
$ vagrant ssh Last login: Mon Jun 24 07:55:01 2013 from 10.0.2.2 Welcome to your Vagrant-built virtual machine. [vagrant@localhost ~]$ sudo /etc/init.d/vboxadd setup Removing existing VirtualBox DKMS kernel modules [ OK ] Removing existing VirtualBox non-DKMS kernel modules [ OK ] Building the VirtualBox Guest Additions kernel modules Building the main Guest Additions module [ OK ] Building the shared folder support module [ OK ] Building the OpenGL support module [失敗] (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions
この状態で一度vagrantを停止/起動する
停止と起動
仮想サーバからログアウトして下記のコマンドを実行
$ vagrant halt $ vagrant up
以下のサイトを参考にさせて頂きました