finch icon indicating copy to clipboard operation
finch copied to clipboard

[Feature] Support vzNAT for vz VM type

Open henry118 opened this issue 11 months ago • 0 comments

What is the problem you're trying to solve?. Today Finch requires root privilege to bootstrap the LIMA VM on MacOS. It would be great if the root privilege is not required.

Describe the feature you'd like Root privilege is only required to setup the VM networking via vmnet (socket_vmnet) and sudoers for QEMU VM type. However even though Finch's default VM type has already moved from QEMU to VZ, the vmnet is still setup as part of the current VM bootstrap process. We should use vzNAT instead of vmnet in VZ case so that the root privilege is not required.

Additional context

  • https://lima-vm.io/docs/config/network/#vznat
  • https://github.com/lima-vm/socket_vmnet

henry118 avatar Nov 06 '24 21:11 henry118