forked from pool/virt-launcher-container
Accepting request 1155540 from home:vulyanov:branches:Virtualization
- Use predefined configuration files for libvirt OBS-URL: https://build.opensuse.org/request/show/1155540 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-launcher-container?expand=0&rev=52
This commit is contained in:
parent
3cb8bd4ebe
commit
960619bf17
12
Dockerfile
12
Dockerfile
@ -66,16 +66,8 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then \
|
|||||||
ln -s ../qemu/aavmf-aarch64-vars.bin /usr/share/AAVMF/AAVMF_VARS.fd ; \
|
ln -s ../qemu/aavmf-aarch64-vars.bin /usr/share/AAVMF/AAVMF_VARS.fd ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
COPY augconf /augconf
|
RUN cp -f /usr/share/kube-virt/virt-launcher/virtqemud.conf /etc/libvirt/virtqemud.conf && \
|
||||||
RUN zypper -n install \
|
cp -f /usr/share/kube-virt/virt-launcher/qemu.conf /etc/libvirt/qemu.conf
|
||||||
augeas \
|
|
||||||
augeas-lenses && \
|
|
||||||
augtool --echo -f /augconf && \
|
|
||||||
zypper -n remove \
|
|
||||||
augeas \
|
|
||||||
augeas-lenses && \
|
|
||||||
zypper clean -a && \
|
|
||||||
rm -f /augconf
|
|
||||||
|
|
||||||
# KubeVirt expects virtiofsd to be installed in /usr/libexec
|
# KubeVirt expects virtiofsd to be installed in /usr/libexec
|
||||||
# NOTE: the value of %{_libexecdir} may vary across distros
|
# NOTE: the value of %{_libexecdir} may vary across distros
|
||||||
|
25
augconf
25
augconf
@ -1,25 +0,0 @@
|
|||||||
# Send debug logs to stderr
|
|
||||||
set /files/etc/libvirt/virtqemud.conf/log_outputs 1:stderr
|
|
||||||
|
|
||||||
# Listen on all interfaces for now
|
|
||||||
set /files/etc/libvirt/qemu.conf/stdio_handler logd
|
|
||||||
set /files/etc/libvirt/qemu.conf/spice_listen 0.0.0.0
|
|
||||||
set /files/etc/libvirt/qemu.conf/vnc_listen 0.0.0.0
|
|
||||||
set /files/etc/libvirt/qemu.conf/vnc_tls 0
|
|
||||||
set /files/etc/libvirt/qemu.conf/vnc_sasl 0
|
|
||||||
|
|
||||||
# Fixate user and group
|
|
||||||
set /files/etc/libvirt/qemu.conf/user qemu
|
|
||||||
set /files/etc/libvirt/qemu.conf/group qemu
|
|
||||||
set /files/etc/libvirt/qemu.conf/dynamic_ownership 1
|
|
||||||
set /files/etc/libvirt/qemu.conf/remember_owner 0
|
|
||||||
|
|
||||||
# Workaround libvirt bug in /dev/ handling
|
|
||||||
set /files/etc/libvirt/qemu.conf/namespaces
|
|
||||||
set /files/etc/libvirt/qemu.conf/cgroup_controllers
|
|
||||||
|
|
||||||
# Have virtlogd log to stderr
|
|
||||||
set /files/etc/libvirt/virtlogd.conf/log_outputs 2:stderr
|
|
||||||
|
|
||||||
# Important to save
|
|
||||||
save
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 6 08:16:34 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||||
|
|
||||||
|
- Use predefined configuration files for libvirt
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 23 08:53:39 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
Fri Feb 23 08:53:39 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user