Skip to content

HGFS shared folders mount does not work in Alpine 3.23 #17

Description

@defanator
% vagrant up alpine3
Bringing machine 'alpine3' up with 'vmware_desktop' provider...
==> alpine3: Box 'defanator/alpine-3' could not be found. Attempting to find and install...
    alpine3: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation
    alpine3: Box Version: >= 0
==> alpine3: Loading metadata for box 'defanator/alpine-3'
    alpine3: URL: https://vagrantcloud.com/api/v2/vagrant/defanator/alpine-3
==> alpine3: Adding box 'defanator/alpine-3' (v3.23.2-20260126.1) for provider: vmware_desktop (amd64)
    alpine3: Downloading: https://vagrantcloud.com/defanator/boxes/alpine-3/versions/3.23.2-20260126.1/providers/vmware_desktop/amd64/vagrant.box
    alpine3: Calculating and comparing box checksum...
==> alpine3: Successfully added box 'defanator/alpine-3' (v3.23.2-20260126.1) for 'vmware_desktop (amd64)'!
==> alpine3: Cloning VMware VM: 'defanator/alpine-3'. This can take some time...
==> alpine3: Checking if box 'defanator/alpine-3' version '3.23.2-20260126.1' is up to date...
==> alpine3: Verifying vmnet devices are healthy...
==> alpine3: Preparing network adapters...
==> alpine3: Starting the VMware VM...
==> alpine3: Waiting for the VM to receive an address...
==> alpine3: Forwarding ports...
    alpine3: -- 22 => 2222
==> alpine3: Waiting for machine to boot. This may take a few minutes...
    alpine3: SSH address: 127.0.0.1:2222
    alpine3: SSH username: vagrant
    alpine3: SSH auth method: private key
    alpine3: 
    alpine3: Vagrant insecure key detected. Vagrant will automatically replace
    alpine3: this with a newly generated keypair for better security.
    alpine3: 
    alpine3: Inserting generated public key within guest...
    alpine3: Removing insecure key from the guest if it's present...
    alpine3: Key inserted! Disconnecting and reconnecting using new SSH key...
==> alpine3: Machine booted and ready!
==> alpine3: Setting hostname...
==> alpine3: Configuring network adapters within the VM...
==> alpine3: Waiting for HGFS to become available...
==> alpine3: Enabling and configuring shared folders...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["-T", "fusion", "enableSharedFolders", "/Users/defan/git/vagrant-boxes/.vagrant/machines/alpine3/vmware_desktop/08259232-e8cf-4956-a7d5-aebe1fd28555/alpine-3.vmx", {:notify=>[:stdout, :stderr]}]

Stdout: Error: The VMware Tools are not running in the virtual machine: /Users/defan/git/vagrant-boxes/.vagrant/machines/alpine3/vmware_desktop/08259232-e8cf-4956-a7d5-aebe1fd28555/alpine-3.vmx

Stderr: 
defan@defmbp vagrant-boxes %

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions