The Vagrant provisioner chef_zero
has baked in file sync/share, but these defaults are not documented (or at least I didn’t find this), so I am not sure how to override this to something that will work.
When I run vagrant up --provider qemu
, I get the following:
Vagrant SMB synced folders require the account password to be stored
in an NT compatible format. Please update your sharing settings to
enable a Windows compatible password and try again.
The solutions I found online where about modifying the share settings, but since the share settings are not documented or exposed, I am not sure how to fix this.
I’m on a Macbook M1, and my Vagrantfile
is:
Vagrant.configure("2") do |config|
config.vm.box = "perk/ubuntu-2204-arm64"
config.vm.provider "qemu" do |qe|
qe.ssh_port = "50026"
end
config.vm.network "forwarded_port", guest: 80, host: 8085
config.vm.provision "chef_zero" do |chef|
chef.cookbooks_path = "./cookbooks"
chef.add_recipe "hello_web"
chef.nodes_path = "nodes"
chef.log_level = "debug"
chef.arguments = "--chef-license accept-silent"
end
end