File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,13 @@ RUN dnf -y update && \
2424 openssh-clients && \
2525 dnf -y clean all
2626
27- # Set security_driver = none in /etc/libvirt/qemu.conf when building the
28- # kstest-runner image. The libvirt backend used by libguestfs otherwise fails
29- # with "Security driver model 'selinux' is not available".
30- RUN sed -i -E 's/^[[:space:]]*#?[[:space:]]*security_driver.*/security_driver = "none"/' /etc/libvirt/qemu.conf
31-
27+ # FIXME(workaround): LIBGUESTFS_BACKEND=direct — remove when fixed upstream.
28+ # https://redhat.atlassian.net/browse/INSTALLER-4682
3229ENV APP_ROOT=/opt/kstest
3330ENV PATH=${APP_ROOT}/bin:${PATH} \
3431 APP_DATA=${APP_ROOT}/data \
35- KSTEST_USER=kstest
32+ KSTEST_USER=kstest \
33+ LIBGUESTFS_BACKEND=direct
3634
3735RUN groupadd -g 1001 -r ${KSTEST_USER} -f && \
3836 useradd -u 1001 -r -g ${KSTEST_USER} -m -c "Kickstart test user" ${KSTEST_USER} && \
You can’t perform that action at this time.
0 commit comments