Vagrant + Chef: Erro no fornecimento "Pastas compartilhadas exigidas pelo Chef estão ausentes na máquina virtual".
Instalei um Vagrant + Virtualbox usando o Chef (+ chef da biblioteca). Quando eu façovagrant up
pela primeira vez, os livros de receitas são carregados corretamente. No entanto, quando eu provisionar posteriormente (sejavagrant provision
, vagrant reload --provision
ouvagrant up --provision
Eu recebo este erro:
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.
Eu procurei em todos os lugares e a única solução dada é fazervagrant reload --provision
, isso funcionou até o Vagrant 1.3.1.