Prezados(a),
Sempre que rodo o meu arquivo Vagrantfile acontece o erro e não executa o comando( cat ):
Arquivo -
Vagrant.configure("2") do |config| config.vm.box = "ubuntu/bionic64" config.vm.network :forwarded_port, guest: 80, host: 4567 config.vm.network "public_network" config.vm.provision :shell, path: "bootstrap.sh" config.vm.provision "shell", inline: "cat /config/mysqld.cnf > /etc/mysql/mysql.conf.d/mysqld.cnf" end
Erro -
default: Running: inline script default: cat: /config/mysqld.cnf: No such file or directory The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.