diff --git a/hardening/container/anaconda-ostree/test.py b/hardening/container/anaconda-ostree/test.py index 8b8b258..b512578 100755 --- a/hardening/container/anaconda-ostree/test.py +++ b/hardening/container/anaconda-ostree/test.py @@ -38,7 +38,7 @@ RUN dnf -y copr enable {copr} centos-stream-{versions.rhel.major}-x86_64 RUN dnf -y install openscap-utils COPY remediation-ds.xml /root/. - RUN oscap-bootc --profile '{profile}' \ + RUN oscap-im --profile '{profile}' \ --results-arf /root/remediation-arf.xml /root/remediation-ds.xml # hack sshd cmdline to allow root login RUN echo "OPTIONS=-oPermitRootLogin=yes" >> /etc/sysconfig/sshd diff --git a/hardening/container/bootc-image-builder/test.py b/hardening/container/bootc-image-builder/test.py index f1110b1..21430a8 100755 --- a/hardening/container/bootc-image-builder/test.py +++ b/hardening/container/bootc-image-builder/test.py @@ -41,7 +41,7 @@ RUN dnf -y copr enable {copr} centos-stream-{versions.rhel.major}-x86_64 RUN dnf -y install openscap-utils COPY remediation-ds.xml /root/. - RUN oscap-bootc --profile '{profile}' \ + RUN oscap-im --profile '{profile}' \ --results-arf /root/remediation-arf.xml /root/remediation-ds.xml # hack sshd cmdline to allow root login RUN echo "OPTIONS=-oPermitRootLogin=yes" >> /etc/sysconfig/sshd