Skip to content

Commit

Permalink
make deep image inspection configurable
Browse files Browse the repository at this point in the history
This commit:
  - Implements the support for disabling the deep_image_inspection via
    environment variable.

This new functionality is needed because e.g right now the Ironic&IPA has
issues running deep image inspection on e.g. live-iso images.

Signed-off-by: Adam Rozman <[email protected]>
  • Loading branch information
Rozzii authored and metal3-io-bot committed Dec 16, 2024
1 parent e89fb30 commit b630bb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ironic-config/ironic.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ deploy_kernel = file://{{ env.IRONIC_DEFAULT_KERNEL }}
{% if env.IRONIC_DEFAULT_RAMDISK is defined %}
deploy_ramdisk = file://{{ env.IRONIC_DEFAULT_RAMDISK }}
{% endif %}
{% if env.DISABLE_DEEP_IMAGE_INSPECTION | lower == "true" %}
disable_deep_image_inspection = True
{% endif %}

[database]
{% if env.IRONIC_USE_MARIADB | lower == "false" %}
Expand Down

0 comments on commit b630bb1

Please sign in to comment.