summaryrefslogtreecommitdiff
path: root/ironic/common
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-09-05 17:32:37 +0000
committerGerrit Code Review <review@openstack.org>2022-09-05 17:32:37 +0000
commitd5df494ad51ce942572b13c415cdfe645f2a7b74 (patch)
treef577aad8ac1d9948ff1982c9e121926f41190c2a /ironic/common
parent7f933a1bedfc7576cfd1909cff3c610f27f37759 (diff)
parente75626392b9d228d06e64ed1cfe37da9d2101838 (diff)
downloadironic-d5df494ad51ce942572b13c415cdfe645f2a7b74.tar.gz
Merge "CI: anaconda: permit tls certificate validation bypass"
Diffstat (limited to 'ironic/common')
-rw-r--r--ironic/common/pxe_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ironic/common/pxe_utils.py b/ironic/common/pxe_utils.py
index 1849aaa7d..ec0719b75 100644
--- a/ironic/common/pxe_utils.py
+++ b/ironic/common/pxe_utils.py
@@ -1004,6 +1004,8 @@ def build_kickstart_config_options(task):
if node.driver_internal_info.get('is_source_a_path', False):
# Record a value so it matches as the template opts in.
params['is_source_a_path'] = 'true'
+ if CONF.anaconda.insecure_heartbeat:
+ params['insecure_heartbeat'] = 'true'
params['agent_token'] = node.driver_internal_info['agent_secret_token']
heartbeat_url = '%s/v1/heartbeat/%s' % (
deploy_utils.get_ironic_api_url().rstrip('/'),