fbpx

Shared folders that Chef requires are missing on the virtual machine

June 29, 2015

GuestAdditions 4.3.28 running --- OK.
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
 default: /vagrant => /Users/gonzo/Workspace/aaaa-chef
 default: /opt/aaaa/current => /Users/gonzo/Workspace/aaaa-chef/workspace/aaaa
==> default: Chef 12.4.0 Omnibus package is already installed.
==> default: Running provisioner: chef_solo...
==> default: Detected Chef (latest) is already installed
Shared folders that Chef requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a `vagrant reload` so that the proper shared
folders will be prepared and mounted on the VM.

After more digging, I’ve found that a VM already experiencing this issue can be fixed by removing the “synced_folders” file (a cache, I presume) and reloading the VM:

rm .vagrant/machines/default/virtualbox/synced_folders
vagrant reload

Not ideal, but better than destroying the VM and initialising from scratch


      
avatar
Gonzalo Escribano

Ver entradas

Most Recent

June 9, 2022

¿Qué son las DAO y cuáles son sus beneficios?

Es común en la historia contemporánea que haya cambios a partir de los avances en el campo de la...

Read More

June 2, 2022

¿Qué son las DeFi y por qué son el futuro de las finanzas?

Es común en la historia contemporánea que haya cambios a partir de los avances en el campo de la...

Read More

May 27, 2022

How to start a successful product build from scratch?

Creating a product from scratch could be a huge challenge. To achieve your business goals it’s important to develop...

Read More