libvirt/run.sh

1 line
401 B
Bash
Raw Normal View History

2023-12-25 15:12:05 +00:00
podman run --privileged -d --name=libvirt --net=host --systemd=always --security-opt label=disable --ipc host -v /sys/fs/selinux --annotation run.oci.keep_original_groups=1 --volume /:/run/host:rslave -v /var/lib/libvirt:/var/lib/libvirt:z -v /etc/libvirt:/etc/libvirt:z -v /sys:/sys:rslave -v /run/libvirt:/run/libvirt:z -v /dev:/dev:rslave --mount type=devpts,destination=/dev/pts localhost/libvirtd