tools/build-rpms: fix getting the osbuild commit from Schutzfile

osbuild/osbuild-composer#3614 removed the rhel-8.6, the centos-stream-9
entry should be there for a while at least.
This commit is contained in:
Sanne Raymaekers 2024-01-16 14:35:07 +01:00 committed by Achilleas Koutsou
parent edadbb3470
commit 3631316e36

View file

@ -144,7 +144,7 @@ def run_ansible(args, key_material):
with open(args.base_dir / "Schutzfile") as f:
osbuild_commit = json.load(
f)["rhel-8.6"]["dependencies"]["osbuild"]["commit"]
f)["centos-stream-9"]["dependencies"]["osbuild"]["commit"]
return run_command(["ansible-playbook",
"--ssh-extra-args", "-o ControlPersist=no -o StrictHostKeyChecking=no -o ServerAliveInterval=5",