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 = [] %}