vagrant エラー VBoxManage: error: Could not rename the directory 解決方法
久々に別プロジェクトの開発をする際にvagrant upをした際に下記のエラーがでたので解決した方法をメモとしてまとめる
The name of your virtual machine couldn't be set because VirtualBox is reporting another VM with that name already exists. Most of the time, this is because of an error with VirtualBox not cleaning up properly. To fix this, verify that no VMs with that name do exist (by opening the VirtualBox GUI). If they don't, then look at the folder in the error message from VirtualBox below and remove it if there isn't any information you need in there. VirtualBox error: VBoxManage: error: Could not rename the directory '/Users/shonoendo/VirtualBox VMs/temp_clone_1509336033989_90010' to '/Users/shonoendo/VirtualBox VMs/hoge.dev' to save the settings file (VERR_ALREADY_EXISTS) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface IMachine, callee nsISupports VBoxManage: error: Context: "SaveSettings()" at line 2992 of file VBoxManageModifyVM.cpp
原因
以前携わっていたプロジェクトをPCの容量がいっぱいだったので削除してvirtualBoxのフォルダが残っていたのが原因でした
解決方法
finderから該当するフォルダを削除で解決しました。
できない場合は下記の方を参照していただけると、、、