22 lines
373 B
Docker
22 lines
373 B
Docker
FROM fedora
|
|
|
|
ENV container docker
|
|
|
|
ENV LIBVIRTD_DEFAULT_POOL_PATH ""
|
|
ENV LIBVIRTD_DEFAULT_NETWORK ""
|
|
|
|
RUN yum install -y \
|
|
libvirt-daemon-kvm \
|
|
libvirt-daemon-qemu \
|
|
libvirt-client \
|
|
selinux-policy selinux-policy-targeted \
|
|
augeas
|
|
|
|
COPY augconf /augconf
|
|
COPY libvirtd.sh /libvirtd.sh
|
|
|
|
RUN augtool -f /augconf && \
|
|
chmod a+x /libvirtd.sh
|
|
|
|
CMD ["/libvirtd.sh"]
|