#!/bin/bash

        # Repositories definition only usable with redpesk OS
        
cat << EOF > /etc/yum.repos.d/third-party--redpesk-lts-batz-2.2.0-compose.repo
[third-party--redpesk-lts-batz-2.2.0-compose]
name=third-party--redpesk-lts-batz-2.2.0-compose
baseurl=%REDPESK_DOWNLOAD_URL%/%DIR_STAGING%/staging/third-party/redpesk-lts-batz-2.2.0-compose/latest/\$basearch/os
priority=1
module_hotfixes=1
skip_if_unavailable=True
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/\${redpesk_gpgname},\${redpesk_download_url}/redpesk-config/\${redpesk_gpgname},file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redpesk,\${redpesk_download_url}/redpesk-config/RPM-GPG-KEY-redpesk

EOF