Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
kvm-client-container
kvm-client-wrapper
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kvm-client-wrapper of Package kvm-client-container
#!/bin/bash set -euo pipefail # Symlinks are created during install from client tools to kvm-client-wrapper, # "$0" will tell us which binary was executed. Now exec in the container instead BIN="$(basename $0)" ARGS="$@" RUN_LIBVIRT=$([[ -e /run/libvirt ]] && echo "-v /run/libvirt:/run/libvirt" || echo "") ETC_LIBVIRT_QEMU=$([[ -e /etc/libvirt/qemu ]] && echo "-v /etc/libvirt/qemu:/etc/libvirt/qemu" || echo "") LIBVIRT_IMAGES=$([[ -e /var/lib/libvirt/images ]] && echo "-v /var/lib/libvirt/images:/var/lib/libvirt/images" || echo "") QEMU_FIRMWARE=$([[ -e /usr/share/qemu ]] && echo "-v /usr/share/qemu:/usr/share/qemu" || [[ -e /usr/local/share/qemu ]] && echo "-v /usr/local/share/qemu:/usr/share/qemu" || echo "") exec podman run -it --rm --replace --net=host --privileged ${RUN_LIBVIRT} ${ETC_LIBVIRT_QEMU} ${LIBVIRT_IMAGES} ${QEMU_FIRMWARE} --name kvm-client-${BIN} %CONTAINER_IMAGE% ${BIN} ${ARGS}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor