From f60721d93220f4f6e8516d183d3b2e7b6b39dcc0 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Mon, 6 May 2024 14:56:40 +0200 Subject: [PATCH] Disable unused network interfaces Loading the "flat" network interfaces caues a confusing warnings about unset cleaning_network parameter. Just disable it. Sort the options in the configuration. Signed-off-by: Dmitry Tantsur --- ironic-config/ironic.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ironic-config/ironic.conf.j2 b/ironic-config/ironic.conf.j2 index a919a57f4..e919e731d 100644 --- a/ironic-config/ironic.conf.j2 +++ b/ironic-config/ironic.conf.j2 @@ -7,15 +7,16 @@ default_network_interface = noop enabled_bios_interfaces = no-bios,redfish,idrac-redfish,irmc,ilo enabled_boot_interfaces = ipxe,ilo-ipxe,pxe,ilo-pxe,fake,redfish-virtual-media,idrac-redfish-virtual-media,ilo-virtual-media enabled_deploy_interfaces = direct,fake,ramdisk,custom-agent +enabled_firmware_interfaces = no-firmware,fake,redfish # NOTE(dtantsur): when changing this, make sure to update the driver # dependencies in Dockerfile. enabled_hardware_types = ipmi,idrac,irmc,fake-hardware,redfish,manual-management,ilo,ilo5 enabled_inspect_interfaces = agent,irmc,fake,redfish,ilo enabled_management_interfaces = ipmitool,irmc,fake,redfish,idrac-redfish,ilo,ilo5,noop +enabled_network_interfaces = noop enabled_power_interfaces = ipmitool,irmc,fake,redfish,idrac-redfish,ilo enabled_raid_interfaces = no-raid,irmc,agent,fake,redfish,idrac-redfish,ilo5 enabled_vendor_interfaces = no-vendor,ipmitool,idrac-redfish,redfish,ilo,fake -enabled_firmware_interfaces = no-firmware,fake,redfish {% if env.IRONIC_EXPOSE_JSON_RPC | lower == "true" %} rpc_transport = json-rpc {% else %}