From 442c3b3b8b86548686244098b181d23a37c9f463 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Mon, 11 May 2020 07:09:52 +0200 Subject: [PATCH] ODCS: Use symlinks insted of hardlink-or-copy for raw_config composes. --- .../base/templates/etc/odcs/raw_config_wrapper.conf.j2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 b/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 index 18b3dddc61..3fdc8038b1 100644 --- a/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 +++ b/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 @@ -5,11 +5,12 @@ koji_profile = 'odcs_stg' koji_profile = 'odcs_production' {% endif %} -{% if env == 'staging' %} -# We cannot use hardlinks on stg, because it uses different volume and copy -# just takes lot of storage. +# We cannot use hardlinks, because ODCS uses different volume and copy +# just takes lot of storage and time. link_type = 'symlink' +{% if env == 'staging' %} + # Staging is used only for testing, so allow only x86_64 composes tree_arches = ['x86_64'] {% endif %}