From d740976883342ef7eb18fa9490be1fbe9e07602a Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Jun 20 2020 12:36:10 +0000 Subject: the platform option causes problems for EL6 and EL7 --- diff --git a/roles/batcave/files/rhel6-sync b/roles/batcave/files/rhel6-sync index 649dc06..792609b 100644 --- a/roles/batcave/files/rhel6-sync +++ b/roles/batcave/files/rhel6-sync @@ -5,7 +5,7 @@ RHEL6CACHEDIR=/var/tmp/reposync-rhel6 cd $RHEL6SYNCDIR -DNFOPTS='--download-metadata -m --setopt=module_platform_id="platform:el6" -n' +DNFOPTS='--download-metadata -m -n' mkdir -p ${RHEL6CACHEDIR} diff --git a/roles/batcave/files/rhel7-sync b/roles/batcave/files/rhel7-sync index 899f5b6..e04d32d 100644 --- a/roles/batcave/files/rhel7-sync +++ b/roles/batcave/files/rhel7-sync @@ -5,7 +5,7 @@ SYNCDIR=/var/cache/reposync/ YUMDIR=/var/tmp/reposync-rhel7/ ## Need to download the metadata and the modular data -DNFOPTS='--download-metadata -m --setopt=module_platform_id="platform:el7"' +DNFOPTS='--download-metadata -m ' # s390 isnt working yet ARCHES="ppc64le s390x x86_64"