mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-04 05:01:23 +02:00
* tart run: introduce --net-bridged * tart.entitlements: add com.apple.vm.networking
17 lines
315 B
Swift
17 lines
315 B
Swift
import Foundation
|
|
import Virtualization
|
|
|
|
class NetworkShared: Network {
|
|
func attachment() -> VZNetworkDeviceAttachment {
|
|
VZNATNetworkDeviceAttachment()
|
|
}
|
|
|
|
func run() throws {
|
|
// no-op, only used for Softnet
|
|
}
|
|
|
|
func stop() throws {
|
|
// no-op, only used for Softnet
|
|
}
|
|
}
|