17 lines
764 B
Text
17 lines
764 B
Text
FROM debian:trixie
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y gnupg2 openssh-server strace sudo wget ceph-common
|
|
RUN wget -q -O- https://downloads.opennebula.io/repo/repo2.key | gpg --dearmor --yes --output /etc/apt/keyrings/opennebula.gpg
|
|
RUN echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/7.1/Debian/13 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
|
|
RUN apt-get update && apt-get install -y --no-install-recommends opennebula-node-kvm
|
|
|
|
COPY virtlogd.conf /etc/libvirt/virtlogd.conf
|
|
RUN chmod a+r /etc/libvirt/virtlogd.conf
|
|
|
|
RUN echo 'auth_unix_ro = "none"' >> /etc/libvirt/libvirtd.conf
|
|
RUN echo 'auth_unix_rw = "none"' >> /etc/libvirt/libvirtd.conf
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|