gyf304 / vmcli

A set of utilities (vmcli + vmctl) for macOS Virtualization.framework
BSD 2-Clause "Simplified" License
826 stars 44 forks source link

VZBridgedNetworkDeviceAttachment网卡添加失败 #35

Closed darvintang closed 2 years ago

darvintang commented 2 years ago

不能添加桥接网卡

gyf304 commented 2 years ago

Hi, @darvintang , thank you for your interest in vmcli. The use of VZBridgedNetworkDeviceAttachment is restricted by the com.apple.vm.networking entitlement. Apple only issues this entitlement to VM software developers. Unfortunately without such a developer account, one would not be able to build vmcli with this ability. See com.apple.vm.networking

Hope this answers your question.

你好 @darvintang ,使用 VZBridgedNetworkDeviceAttachment 需要 com.apple.vm.networking 资格。Apple 仅会给虚拟机软件开发者提供此资格。没有有这个资格的开发者账号无法编译有此功能的 vmcli。 参看 com.apple.vm.networking

希望这个回答能帮到您。