From 5d720071c420fb0f24b258279932e2eb4e3ad505 Mon Sep 17 00:00:00 2001 From: Yevgeny Shnaidman Date: Thu, 18 Jun 2020 10:04:19 +0300 Subject: [PATCH] add invoker option to openshift-install invocation to set the name of the cluster-invoker in telemetry --- process-ignition-manifests-and-kubeconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process-ignition-manifests-and-kubeconfig.py b/process-ignition-manifests-and-kubeconfig.py index 06da147..26dcb4e 100644 --- a/process-ignition-manifests-and-kubeconfig.py +++ b/process-ignition-manifests-and-kubeconfig.py @@ -101,7 +101,7 @@ def main(): if not os.path.isfile(os.path.join(config_dir, 'install-config.yaml')): raise Exception("install config file not located in installer dir") - command = "%s/openshift-install create ignition-configs --dir %s" % (work_dir, config_dir) + command = "OPENSHIFT_INSTALL_INVOKER=\"assisted-installer\" %s/openshift-install create ignition-configs --dir %s" % (work_dir, config_dir) try: subprocess.check_output(command, shell=True, stderr=sys.stdout) except Exception as ex: