Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2243f22718 | |||
|
|
1f25b89619 |
@ -44,8 +44,11 @@ find ./shared -type f -exec sed -i \
|
||||
# silently falls through to the generic `else` branch of those rules (e.g.
|
||||
# configure_custom_crypto_policy_cis drops NO-SSHWEAKCIPHERS/NO-SSHWEAKMACS/
|
||||
# NO-WEAKMAC, weakening the CIS crypto remediation versus the rhel8 base).
|
||||
find ./linux_os -type d -name ensure_redhat_gpgkey_installed -prune -o -type f -exec sed -i \
|
||||
-e '/if product in/ s/"rhel8"/"rhel8", "almalinux8"/g' {} \;
|
||||
find ./linux_os ./shared -type d -name ensure_redhat_gpgkey_installed -prune -o -type f -exec sed -i \
|
||||
-e '/if product in/ s/"rhel8"/"rhel8", "almalinux8"/g' \
|
||||
-e "/if product in/ s/'rhel8'/'rhel8', 'almalinux8'/g" \
|
||||
-e '/if product not in/ s/"rhel8"/"rhel8", "almalinux8"/g' \
|
||||
-e "/if product not in/ s/'rhel8'/'rhel8', 'almalinux8'/g" {} \;
|
||||
|
||||
find ./linux_os ./shared -type d -name ensure_redhat_gpgkey_installed -prune -o -type f -exec sed -i -E \
|
||||
-e 's/product == (["'\''])rhel8\1/(product == \1rhel8\1 or product == \1almalinux8\1)/g' {} \;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user