From 60152d4a680a5f7a804846d233cce91e2d7ce457 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 17 May 2022 09:03:01 -0700 Subject: [PATCH] batcave: fix rhel9 confdir in sync Signed-off-by: Kevin Fenzi --- roles/batcave/files/rhel9-sync | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/batcave/files/rhel9-sync b/roles/batcave/files/rhel9-sync index 6e0d70c9ff..1b89a735f7 100644 --- a/roles/batcave/files/rhel9-sync +++ b/roles/batcave/files/rhel9-sync @@ -43,16 +43,16 @@ for A in ${ARCHES}; do echo "Syncing ${R} for ${A}" # Be verbose on errors. if [[ $? -ne 0 ]]; then - echo "Something went wrong with reposync -c ${RHEL8SYNCDIR}/${CONF} --repoid ${R} -a ${A} -a noarch -p ${A}" + echo "Something went wrong with reposync -c ${RHEL9SYNCDIR}/${CONF} --repoid ${R} -a ${A} -a noarch -p ${A}" fi # x86_64 is 'special' because we have to tell it for i686 also. if [[ ${A} == 'x86_64' ]]; then - dnf reposync -c ${RHEL8SYNCDIR}/${CONF} ${DNFOPTS} --repoid=${R} -a ${A} -a noarch -a i686 -p ${A} &> /dev/null + dnf reposync -c ${RHEL9SYNCDIR}/${CONF} ${DNFOPTS} --repoid=${R} -a ${A} -a noarch -a i686 -p ${A} &> /dev/null else - dnf reposync -c ${RHEL8SYNCDIR}/${CONF} ${DNFOPTS} --repoid=${R} -a ${A} -a noarch -p ${A} &> /dev/null + dnf reposync -c ${RHEL9SYNCDIR}/${CONF} ${DNFOPTS} --repoid=${R} -a ${A} -a noarch -p ${A} &> /dev/null fi if [[ $? -ne 0 ]]; then - echo "Something went wrong with dnf reposync -c ${RHEL8SYNCDIR}/${CONF} --repoid ${R} -a ${A} -p ${A}" + echo "Something went wrong with dnf reposync -c ${RHEL9SYNCDIR}/${CONF} --repoid ${R} -a ${A} -p ${A}" fi done done @@ -65,5 +65,5 @@ done OTHERCONF=yum4-batcave-rhel9-other.conf -#dnf reposync -c ${RHEL8SYNCDIR}/${OTHERCONF} ${DNFOPTS} --repoid rhel-8-x86_64-openstack-16-rpms -a x86_64 -a noarch -a i686 -p other &> /dev/null -#dnf reposync -c ${RHEL8SYNCDIR}/${OTHERCONF} ${DNFOPTS} --repoid rhel-8-srpms-openstack-16-rpms --source -a x86_64 -a noarch -a i686 -p other &> /dev/null +#dnf reposync -c ${RHEL9SYNCDIR}/${OTHERCONF} ${DNFOPTS} --repoid rhel-8-x86_64-openstack-16-rpms -a x86_64 -a noarch -a i686 -p other &> /dev/null +#dnf reposync -c ${RHEL9SYNCDIR}/${OTHERCONF} ${DNFOPTS} --repoid rhel-8-srpms-openstack-16-rpms --source -a x86_64 -a noarch -a i686 -p other &> /dev/null