From 744646f591fd816aa4599833b96fef9082831360 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 10 May 2021 00:24:14 +0200 Subject: [PATCH] copr-hv: don't require pre-defined frontend_url in main.ini At least not for the initial qcow2 image generator. Later, when used on backend to actually start a real builder - we'll have that defined properly. --- .../copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 b/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 index bcd33e9fd7..08a233d735 100644 --- a/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 +++ b/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 @@ -1,5 +1,5 @@ [main] -frontend_url = {{ frontend_base_url }} +frontend_url = {{ frontend_base_url or "unset" }} distgit_lookaside_url = {scheme}://{netloc}/repo/pkgs/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s distgit_clone_url = {scheme}://{netloc}/%(module)s rpm_vendor_copr_name = {{rpm_vendor_copr_name}}