Can I please get some advice about this issue?
I am trying to use Vagrant in my M1 Mac, and created Vagrantfile after some necessary setups.
But every time I try `sudo vagrant up` in my terminal ->
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Cloning VMware VM: 'hashicorp/bionic64'. This can take some time...
==> default: Checking if box 'hashicorp/bionic64' version '1.0.282' is up to date...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
the message is printed to this step, and then the VMWare Fusion gives a pop-up window that says "You do not have access rights to this file". After that, this comes after:
Vagrant timed out while trying to start the VMware machine. This
error is caused by VMware never successfully starting the machine.
This can often be fixed by simply retrying. If the error persists,
please verify that VMware is functional. This is not a Vagrant
issue.
My VMWare itself works without any probelm.
But I have no idea about the "this file" mentioned in the message...
My Vagrantfile looks like this:
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/bionic64"
config.vm.hostname = "ansible.local" # name of installed box
config.vm.provider "vmware_fusion" do |vmware|
vmware.memory = 1024
vmware.gui = true
end
if Vagrant.has_plugin?("vagrant-vbguest")
config.vbguest.auto_update = false
end
config.vm.network "private_network", ip: "192.168.33.46"
config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/"]
config.vm.provision "shell", inline: <<-SHELL
export DEBIAN_FRONTEND=noninteractive
sudo apt -y update
sudo apt install -y ca-certificates apt-transport-https
sudo apt install -y software-properties-common curl
sudo apt install -y python3-pip python-is-python3
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install -y ansible
sudo pip3 install docker
SHELL
end