Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeps Asking for a Password for Encrypted virtual machine on Apple M2 #101

Open
aihua opened this issue Sep 1, 2023 · 0 comments
Open

Comments

@aihua
Copy link

aihua commented Sep 1, 2023

Vagrant version

Vagrant 2.3.7

Vagrant VMware plugin version

vagrant-vmware-desktop (3.0.3, global)

  • Version Constraint: 3.0.3

Vagrant VMware utility version

1.0.22

Host operating system

macOS: Ventura 13.5.1 (22G90)
Chip: Apple M2 Max

Guest operating system

Windows 11 Pro for arm64

  • Version: 22H2
  • OS build: 22621.2134
  • Experience: Windows Feature Experience Pack 1000.22659.1000.0

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "aihua/windows-11-arm64"
  config.vm.provider "vmware_desktop" do |v|
    v.gui = true

    v.utility_certificate_path = "/opt/vagrant-vmware-desktop/certificates"

    v.vmx["memsize"] = "16384"
    v.vmx["numvcpus"] = "4"
    # v.vmx["displayName"] = "windows"
    v.vmx["ethernet0.pcislotnumber"] = "160"

    v.allowlist_verified = true
  end
end

Debug output

https://gist.github.com/aihua/8967f5adfce4c08a155eb8c570f178cb

Expected behavior

Should accept the correct password for Encrypted virtual machine, and it can boot and run well.

Actual behavior

Encrypted virtual machine cannot boot even if the password is corrected. Stucked on 'Encrypted virtual machine password: '.
At last, with the following error:

An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["-T", "fusion", "start", "/System/Volumes/Data/data/vagrant/windows/.vagrant/machines/default/vmware_desktop/9d81993c-0fb5-404e-9c59-cd7d8c16b86b/windows-11.vmx", "gui", {:notify=>[:stdout, :stderr], :timeout=>45}]

Stdout: Error: The operation is not supported

Stderr:

Steps to reproduce

  1. vagrant box add aihua/windows-11-arm64
  2. vagrant up --provider vmware_desktop
  3. Input the password vagrants for 'Encrypted virtual machine password:' prompted

Reference

As https://docs.vmware.com/en/VMware-Fusion/13/com.vmware.fusion.using.doc/GUID-BA4C49B3-587C-4ED7-905E-827B755CC451.html, maybe 'vagrant-vmware-desktop' should accept the correct password as the authentication flags '-vp' (encryptedVirtualMachinePassword) of 'vmrun' command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant