From 0e252bcc54e07a137124a6304da69767fbcad2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kalu=C5=BEa?= Date: Thu, 18 Jan 2018 11:55:26 +0000 Subject: [PATCH] Use symlink link_type for ODCS in staging --- .../odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) 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 19c05044ac..30bbed4058 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 @@ -12,3 +12,9 @@ createrepo_deltas = False # In runroot, we cannot use guestmount, but have to use mount -o loop. buildinstall_use_guestmount=False +# We cannot use hardlinks on stg, because it uses different volume and copy +# just takes lot of storage. +{% if env == 'staging' %} +link_type = 'symlink' +{% endif %} +