diff --git a/elements/puppet-stack-config/puppet-stack-config.yaml.template b/elements/puppet-stack-config/puppet-stack-config.yaml.template index e7451bb5f..d56819a90 100644 --- a/elements/puppet-stack-config/puppet-stack-config.yaml.template +++ b/elements/puppet-stack-config/puppet-stack-config.yaml.template @@ -401,7 +401,9 @@ ironic::keystone::auth_inspector::region: "%{hiera('keystone_region')}" # Ironic Inspector ironic::inspector::listen_address: {{LOCAL_IP}} ironic::inspector::debug: "%{hiera('debug')}" +{{#IPXE_ENABLED}} ironic::inspector::pxe_transfer_protocol: 'http' +{{/IPXE_ENABLED}} ironic::inspector::enable_uefi: {{INSPECTION_ENABLE_UEFI}} ironic::inspector::authtoken::auth_uri: "%{hiera('keystone_auth_uri')}" ironic::inspector::authtoken::auth_url: "%{hiera('keystone_identity_uri')}" @@ -440,7 +442,7 @@ ironic::conductor::http_boot: '/httpboot' ironic::inspector::http_port: "%{hiera('ironic_ipxe_port')}" # Ironic pxe -ironic::drivers::pxe::ipxe_enabled: {{IPXE_DEPLOY}} +ironic::drivers::pxe::ipxe_enabled: {{IPXE_ENABLED}} # NOTE(dtantsur): UEFI only works with iPXE currently for us ironic::drivers::pxe::uefi_pxe_config_template: '$pybasedir/drivers/modules/ipxe_config.template' ironic::drivers::pxe::uefi_pxe_bootfile_name: 'ipxe.efi' @@ -588,7 +590,6 @@ enable_zaqar: {{ENABLE_ZAQAR}} enable_validations: {{ENABLE_VALIDATIONS}} enable_telemetry: {{ENABLE_TELEMETRY}} enable_ui: {{ENABLE_UI}} -ipxe_deploy: {{IPXE_DEPLOY}} # Path to install configuration files tripleo_install_user: {{TRIPLEO_INSTALL_USER}} diff --git a/instack_undercloud/undercloud.py b/instack_undercloud/undercloud.py index 34b5e5d6d..ccacde9aa 100644 --- a/instack_undercloud/undercloud.py +++ b/instack_undercloud/undercloud.py @@ -309,9 +309,10 @@ _opts = [ help=('Whether to install requirements to run the TripleO ' 'validations.') ), - cfg.BoolOpt('ipxe_deploy', + cfg.BoolOpt('ipxe_enabled', default=True, - help=('Whether to use iPXE for deploy by default.') + help=('Whether to use iPXE for deploy and inspection.'), + deprecated_name='ipxe_deploy', ), cfg.BoolOpt('store_events', default=False, diff --git a/undercloud.conf.sample b/undercloud.conf.sample index 8770708a5..4f7597df6 100644 --- a/undercloud.conf.sample +++ b/undercloud.conf.sample @@ -158,8 +158,9 @@ # (boolean value) #enable_validations = true -# Whether to use iPXE for deploy by default. (boolean value) -#ipxe_deploy = true +# Whether to use iPXE for deploy and inspection. (boolean value) +# Deprecated group/name - [DEFAULT]/ipxe_deploy +#ipxe_enabled = true # Whether to store events in the Undercloud Ceilometer. (boolean # value)