forked from pool/virt-launcher-container
Accepting request 976177 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/976177 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-launcher-container?expand=0&rev=16
This commit is contained in:
commit
6b2812cd5c
@ -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" ]
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user