22 lines
534 B
Desktop File
22 lines
534 B
Desktop File
[Unit]
|
|
Description=Run QEMU guest agent container
|
|
Wants = network-online.target
|
|
After = network-online.target
|
|
|
|
[Service]
|
|
TimeoutStartSec=0
|
|
ExecStartPre=-/bin/podman kill qemu-ga
|
|
ExecStartPre=-/bin/podman rm qemu-ga
|
|
ExecStartPre=/bin/podman pull docker.io/linuxkit/qemu-ga:v0.7
|
|
ExecStart=/bin/podman run --privileged \
|
|
--rm \
|
|
--pid=host \
|
|
--ipc=host \
|
|
--net=host \
|
|
-v /dev:/dev \
|
|
docker.io/linuxkit/qemu-ga:v0.7 /usr/bin/qemu-ga -v m virtio-serial
|
|
|
|
ExecStop=/bin/podman stop qemu-ga
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|