WIP: Align config files and scripts with upstream (v30.0.0) #202
@@ -88,8 +88,7 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then\
|
||||
COPY --from=base /tmp/esp-x86_64.img /tmp/uefi_esp-x86_64.img
|
||||
COPY --from=base /tmp/esp-aarch64.img /tmp/uefi_esp-arm64.img
|
||||
|
||||
COPY ironic-config/ironic.conf.j2 /etc/ironic/
|
||||
COPY ironic-config/network-data-schema-empty.json /etc/ironic/
|
||||
COPY ironic-config/ironic.conf.j2 ironic-config/network-data-schema-empty.json /etc/ironic/
|
||||
|
||||
# DNSMASQ
|
||||
COPY ironic-config/dnsmasq.conf.j2 /etc/
|
||||
|
@@ -72,6 +72,9 @@ enable_ssl_api = true
|
||||
{% endif %}
|
||||
api_workers = {{ env.NUMWORKERS }}
|
||||
|
||||
# Disable schema validation so we can pass nmstate format
|
||||
network_data_schema = /etc/ironic/network-data-schema-empty.json
|
||||
|
||||
[conductor]
|
||||
|
||||
automated_clean = {{ env.IRONIC_AUTOMATED_CLEAN }}
|
||||
# NOTE(dtantsur): keep aligned with [pxe]boot_retry_timeout below.
|
||||
|
@@ -0,0 +1 @@
|
||||
{}
|
Reference in New Issue
Block a user
As mentioned in #200 - we can't remove this as it's required to allow Ironic to accept the nmstate network-data format instead of enforcing the openstack schema
We should perhaps push a change to the upstream ironic-image so this can be enabled/disabled via a variable as our use-case isn't unique and the idea of disabling the schema was previously discussed upstream so I expect such a change may be acceptable