diff --git a/lib/nova_plugins/hypervisor-ironic b/lib/nova_plugins/hypervisor-ironic index 062afb7f7c..034e403768 100644 --- a/lib/nova_plugins/hypervisor-ironic +++ b/lib/nova_plugins/hypervisor-ironic @@ -45,12 +45,11 @@ function configure_nova_hypervisor { if [[ "$IRONIC_USE_RESOURCE_CLASSES" == "False" ]]; then iniset $NOVA_CONF filter_scheduler use_baremetal_filters True + iniset $NOVA_CONF filter_scheduler host_subset_size 999 + iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0 + iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0 fi - iniset $NOVA_CONF filter_scheduler host_subset_size 999 - - iniset $NOVA_CONF DEFAULT ram_allocation_ratio 1.0 - iniset $NOVA_CONF DEFAULT reserved_host_memory_mb 0 # ironic section iniset $NOVA_CONF ironic auth_type password iniset $NOVA_CONF ironic username admin