Skip to content

[socketVMNet] Disable symlink detection for the socketVMNet directory #1437

@mritd

Description

@mritd

Description

Currently, when Lima is installed for the first time on macOS, it will automatically create a ~/.lima/_config/networks.yaml configuration file, in which socketVMNet is automatically filled with a non-symlink directory.

But when we update socketVMNet through brew command, the old version directory may be deleted, which will cause Lima to fail to start.

If we set the socketVMNet directory to /opt/homebrew/opt/socket_vmnet/bin/socket_vmnet(this directory is a symlink maintained by brew.), it will also cause startup failure due to internal detection mechanism.

Can we use some compatible code to allow the socketVMNet directory to use symlink?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions