Skip to content

Commit

Permalink
only set default pxe images if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
msherman64 committed Sep 20, 2022
1 parent cb4470e commit 45b028a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kolla/node_custom_config/ironic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ port_range = 40000:50000
automated_clean = False

# deploy kernel and ramdisk to use if not set on node
deploy_kernel = "{{ ironic_deploy_kernel | default('pxe_deploy_kernel') }}"
deploy_ramdisk = "{{ ironic_deploy_ramdisk | default('pxe_deploy_ramdisk') }}"
{% if ironic_deploy_kernel is defined %}
deploy_kernel = "{{ ironic_deploy_kernel }}"
{% endif %}
{% if ironic_deploy_ramdisk is defined %}
deploy_ramdisk = "{{ ironic_deploy_ramdisk }}"
{% endif %}

[deploy]
default_boot_option = local
Expand Down

0 comments on commit 45b028a

Please sign in to comment.