運行this使用VirtualBox的4.3.2版本的Mac OS X上的Vagrant內部的CoreOS映像。vagrant-coreos映像在OS X上的virtualbox 4.3.2中重新啓動共享文件夾
當我開始像了,我得到以下錯誤:
[default] No guest additions were detected on the base box for this VM! Guest
additions are required for forwarded ports, shared folders, host only
networking, and more. If SSH fails on this machine, please install
the guest additions and repackage the box to continue.
This is not an error message; everything may continue to work properly,
in which case you may ignore this message.
儘管這是,我在OS X,這doesn't appear to support guest additions運行VirtualBox的事實。
儘管如此,我仍然可以通過Settings -> Shared Folders
手動添加共享文件夾,但即使我選擇Auto-mount
和Make permanent
,這些文件也不會在圖像重新啓動時持續存在。
此CoreOS鏡像包含隨機重新啓動作爲其安全策略的一部分,因此我在重新引導後丟失了共享文件夾,並且無法在沒有完全映像和重新映像的情況下重新獲得共享文件夾。
這是怎麼發生的?