Files
gvisor-tap-vsock/contrib/systemd/gv-user-network@.service
Christophe Fergeau 79e078b297 build: Rename vm to gvforwarder
This aligns the naming with 'gvproxy' and hopefully makes it a bit more
descriptive

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2023-04-25 15:00:34 +02:00

14 lines
408 B
Desktop File

[Unit]
Description=gvisor-tap-vsock Network Traffic Forwarder
After=NetworkManager.service
BindsTo=sys-devices-virtual-net-%i.device
After=sys-devices-virtual-net-%i.device
[Service]
Environment=GV_VSOCK_PORT="1024"
EnvironmentFile=-/etc/sysconfig/gv-user-network
ExecStart=/usr/libexec/podman/gvforwarder -preexisting -iface %i -url vsock://2:${GV_VSOCK_PORT}/connect
[Install]
WantedBy=multi-user.target