diff --git a/setup/bootc_configure_kernel_ima_module/Containerfile b/setup/bootc_configure_kernel_ima_module/Containerfile index 847fc630..3b6f5151 100644 --- a/setup/bootc_configure_kernel_ima_module/Containerfile +++ b/setup/bootc_configure_kernel_ima_module/Containerfile @@ -5,6 +5,8 @@ RUN mkdir -p /keylime-tests /etc/ima/ COPY 10-ima_kargs.toml /usr/lib/bootc/kargs.d/10-ima_kargs.toml COPY ima-policy /etc/ima/ima-policy COPY yum.repos.d/* /etc/yum.repos.d/ +COPY .ssh /var/roothome/.ssh +COPY resolv.conf /etc/resolv.conf ARG KEYLIME_BOOTC_INSTALL_PACKAGES="rsync beakerlib selinux-policy-devel swtpm swtpm-tools nmap keylime expect" RUN dnf -y install ${KEYLIME_BOOTC_INSTALL_PACKAGES} RUN sed -i '/tss/ d' /usr/lib/group; ls -ld /etc/keylime /var/lib/keylime; ls -l /etc/keylime /var/lib/keylime; /bin/true diff --git a/setup/bootc_configure_kernel_ima_module/test.sh b/setup/bootc_configure_kernel_ima_module/test.sh index 644f4024..f91fd727 100755 --- a/setup/bootc_configure_kernel_ima_module/test.sh +++ b/setup/bootc_configure_kernel_ima_module/test.sh @@ -27,7 +27,9 @@ rlJournalStart rlRun "cat > 10-ima_kargs.toml <