limit image builder to one buildhost in stg

Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
Mark O Brien 2022-07-22 11:49:05 +01:00
parent 24088dfe9b
commit 2003cd2b5b

View file

@ -155,8 +155,14 @@ keytab = /etc/kojid/kojid.keytab
{{ plugins.append("rpmautospec_builder") }}
{% if env == 'staging' %}
{% if inventory_hostname == 'buildvm-x86-05.stg.iad2.fedoraproject.org' %}
{{ plugins.append("osbuild") }}
{% endif %}
{% else %}
{{ plugins.append("osbuild") }}
{% endif %}
; Config for the runroot plugin lives in /etc/kojid/runroot.conf, if enabled
plugins = {{ plugins | join(" ") }}