Skip to content

Commit

Permalink
Add parameter to set ramdisk source
Browse files Browse the repository at this point in the history
The new ramdisk_image_download_source allows to set where the ramdisk
image will be served from.
  • Loading branch information
elfosardo committed May 5, 2021
1 parent 631188e commit 1e036d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ironic-config/ironic.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,16 @@ connection = mysql+pymysql://ironic:{{ env.MARIADB_PASSWORD }}@127.0.0.1/ironic?
connection = mysql+pymysql://ironic:{{ env.MARIADB_PASSWORD }}@127.0.0.1/ironic?charset=utf8
{% endif %}



[deploy]
default_boot_option = local
erase_devices_metadata_priority = 10
erase_devices_priority = 0
http_root = /shared/html/
http_url = http://{{ env.IRONIC_URL_HOST }}:{{ env.HTTP_PORT }}
fast_track = {{ env.IRONIC_FAST_TRACK }}
{% if env.IRONIC_RAMDISK_SOURCE is defined %}
ramdisk_image_download_source = {{ env.IRONIC_RAMDISK_SOURCE }}
{% endif %}

[dhcp]
dhcp_provider = none
Expand Down

0 comments on commit 1e036d5

Please sign in to comment.