Skip to content

Commit

Permalink
Add separate yaml files just to enable the fips element
Browse files Browse the repository at this point in the history
This simply allows a FIPS image to be created or not, rather than images
being FIPS by default.
  • Loading branch information
steveb committed Feb 15, 2024
1 parent e0efdad commit 9fc3288
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- imagename: edpm-hardened-uefi
elements:
# Additional element to enable fips for other image defintion
- fips
4 changes: 4 additions & 0 deletions images/ironic-python-agent-fips.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- imagename: ironic-python-agent
elements:
# Additional element to enable fips for other image defintion
- fips

0 comments on commit 9fc3288

Please sign in to comment.