Skip to content

Commit

Permalink
Merge pull request #23 from steveb/fips-rhel
Browse files Browse the repository at this point in the history
Add separate yaml files just to enable the fips element
  • Loading branch information
steveb committed Feb 15, 2024
2 parents 962c584 + 9fc3288 commit 6de23c7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.rst
Expand Up @@ -26,6 +26,11 @@ master branch ``current-podified`` by running::

diskimage-builder ./images/edpm-hardened-uefi-centos-9-stream.yaml

To create a FIPS enabled image, add ``edpm-hardened-uefi-fips.yaml`` to
include the ``fips`` element::

diskimage-builder ./images/edpm-hardened-uefi-centos-9-stream.yaml ./images/edpm-hardened-uefi-fips.yaml

See dib/repo-setup/README.md for environment variables to control which RDO
repositories to configure.

Expand Down
4 changes: 4 additions & 0 deletions images/edpm-hardened-uefi-fips.yaml
@@ -0,0 +1,4 @@
- imagename: edpm-hardened-uefi
elements:
# Additional element to enable fips for other image defintion
- fips
1 change: 0 additions & 1 deletion images/edpm-hardened-uefi-rhel-9.yaml
Expand Up @@ -11,7 +11,6 @@
- modprobe
- disable-nouveau
- reset-bls-entries
- fips
# edpm-image-builder elements
- edpm-base
- edpm-partition-uefi
Expand Down
4 changes: 4 additions & 0 deletions images/ironic-python-agent-fips.yaml
@@ -0,0 +1,4 @@
- imagename: ironic-python-agent
elements:
# Additional element to enable fips for other image defintion
- fips

0 comments on commit 6de23c7

Please sign in to comment.