Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Some fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
charles8191 authored Nov 28, 2024
1 parent f236f0f commit 650323b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ dnf install firewalld -y && \
# SCAP
dnf install openscap openscap-scanner scap-security-guide -y && \
oscap xccdf generate fix --profile xccdf_org.ssgproject.content_profile_anssi_bp28_minimal --fix-type bash /usr/share/xml/scap/ssg/content/ssg-cs9-ds.xml > /scap.sh && \
(bash /scap.sh || true) && \
bash /scap.sh ; \
rm -vf /scap.sh && \
# Count Me
sed -i -e s,countme=1,countme=0, /etc/yum.repos.d/*.repo && \
systemctl mask --now rpm-ostree-countme.timer && \
sed -i -e s,countme=1,countme=0, /etc/yum.repos.d/*.repo ; \
sed -i -e s,countme=1,countme=0, /usr/etc/yum.repos.d/*.repo ; \
systemctl mask rpm-ostree-countme.timer ; \
# Clean
dnf clean all

0 comments on commit 650323b

Please sign in to comment.