mirror of
https://github.com/containers/gvisor-tap-vsock.git
synced 2025-10-05 08:46:58 +08:00

the network manager file configures a vsock0 network interface with the specific mac-address that gvproxy needs. this must be run before the vm command is run. the systemd file is for running the vm command after network manager creates the network interface. the url must be modified with the vm ID when using hvsock and Microsoft HyperV virtualization. Once the vm command has been run, we issue a postexec to ask NM to bring the "link" up. this may not be entirely necessary but wfm. Signed-off-by: Brent Baude <bbaude@redhat.com>