2
respostas

Meu provisionamento esta dando erro

ERRO

There are errors in the configuration of this machine. Please fix the following errors and try again:

vm:

  • The host path of the shared folder is missing: ./configs

///////segue o Vagrant file

Vagrant.configure("2") do |config| config.vm.box = "ubuntu/bionic64" config.vm.network "forwarded_port", guest: 80, host: 8088 config.vm.network "public_network", ip: "192.168.1.24" config.vm.provision "shell",inline: "echo hello, World" config.vm.synced_folder "./configs", "/configs"

end

2 respostas

Oi, Wqueiroz, tudo bem?

Você está nesse capítulo 4 e aula 4? Qual foi o comando que você deu e apareceu esse erro?

Ola Lais ...sim estou na aula de Synced Folder e mais shell,

eu coloquei a configuração no meu vagrant file conforme o video ,segue abaixo...

Vagrant.configure("2") do |config| config.vm.box = "ubuntu/bionic64" config.vm.network "forwarded_port", guest: 80, host: 8088 config.vm.network "public_network", ip: "192.168.1.24" config.vm.provision "shell",inline: "echo hello, World" config.vm.synced_folder "./configs", "/configs" end

E O ERRO E O SEGUINTE

There are errors in the configuration of this machine. Please fix the following errors and try again:

vm:

  • The host path of the shared folder is missing: ./configs

JA DEI RELOAD NO VAGRANT,JA DEI DESTROY E CRIEI DE NOVO E O ERRO PERSISTE.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software