From d71045026996e7064b8047f29a7664f9b4dd11c1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 6 Feb 2025 16:19:31 -0800 Subject: [PATCH] buildvm-x86-riscv: adjust principal for riscv secondary koji hub Signed-off-by: Kevin Fenzi --- roles/koji_builder/templates/kojid.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf index 1ab2a7dd11..7402346a33 100644 --- a/roles/koji_builder/templates/kojid.conf +++ b/roles/koji_builder/templates/kojid.conf @@ -94,7 +94,11 @@ from_addr=Fedora Koji Build System serverca = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ; Kerberos configuration +{% if koji_instance != 'secondary' %} krb_principal = compile/{{ inventory_hostname }}@{{ ipa_realm }} +{% else %} +krb_principal = riscv-compile/{{ inventory_hostname }}@{{ ipa_realm }} +{% endif %} keytab = /etc/kojid/kojid.keytab {% set plugins = [] %}