1
0
Dominique Leuenberger 2022-05-12 20:58:37 +00:00 committed by Git OBS Bridge
commit 6b2812cd5c
2 changed files with 11 additions and 0 deletions

View File

@ -76,4 +76,10 @@ COPY augconf /augconf
RUN augtool -f /augconf
RUN cd /var && rm -rf run && ln -s ../run .
# Setup permissions and capabilities for non-root VMIs. KubeVirt sets
# XDG_* directories to /var/run.
RUN setcap 'cap_net_bind_service,cap_sys_ptrace=+ep' /usr/bin/virt-launcher && \
chmod 0755 /etc/libvirt && \
chown qemu:qemu /var/run
ENTRYPOINT [ "/usr/bin/virt-launcher" ]

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 27 16:30:17 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Setup permissions and capabilities for non-root VMIs
-------------------------------------------------------------------
Fri Apr 15 10:50:30 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>