many things
This commit is contained in:
parent
18a08d623b
commit
a7fad6c9c6
43 changed files with 1246 additions and 54 deletions
22
10-pre-k8s/units/qemu-ga.service
Normal file
22
10-pre-k8s/units/qemu-ga.service
Normal file
|
@ -0,0 +1,22 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue