Skip to content

Commit 1170731

Browse files
committed
Switch to default_deploy_interface = autodetect
This changes the default deploy interface from direct to autodetect[1]. For all existing supported scenarios this will result in the direct interface being used during deployment, but this will also enable bootc container images to be used for deployment. The check for bootc only occurs when the image source uses an oci:// URL protocol. [1] https://docs.openstack.org/ironic/latest/admin/interfaces/deploy.html#id6 Signed-off-by: Steve Baker <sbaker@redhat.com>
1 parent ef25357 commit 1170731

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ironic-config/ironic.conf.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[DEFAULT]
22
auth_strategy = noauth
33
debug = true
4-
default_deploy_interface = direct
4+
default_deploy_interface = autodetect
55
default_inspect_interface = agent
66
default_network_interface = noop
77
enabled_bios_interfaces = no-bios,redfish,idrac-redfish
88
enabled_boot_interfaces = ipxe,pxe,fake,redfish-virtual-media,idrac-redfish-virtual-media,redfish-https
9-
enabled_deploy_interfaces = direct,fake,ramdisk,custom-agent,bootc
9+
enabled_deploy_interfaces = autodetect,direct,fake,ramdisk,custom-agent,bootc
10+
autodetect_deploy_interfaces = ramdisk,bootc,direct
1011
enabled_firmware_interfaces = no-firmware,fake,redfish
1112
# NOTE(dtantsur): when changing this, make sure to update the driver
1213
# dependencies in Dockerfile.

0 commit comments

Comments
 (0)