title: Add centos repository to Amazon Linux instance
body: <p>I'm trying to add the following yum repository to my AWS instance:</p>
  <p><a href="https://centos.pkgs.org/7/centos-x86_64/" rel="nofollow noreferrer">https://centos.pkgs.org/7/centos-x86_64/</a></p>
  <p>The issue is that there is no repodata/ directory with the required metadata in this source, how can I add this repository without getting the following error:</p>
  <pre><code>yum-config-manager --add-repo https://centos.pkgs.org/7/centos-x86_64/
  yum install -y katello
  https://centos.pkgs.org/7/centos-x86_64/repodata/repomd.xml: [Errno 12] Timeout on 
  https://centos.pkgs.org/7/centos-x86_64/repodata/repomd.xml: (28, 'Connection timed out 
  after 5001 milliseconds')
  </code></pre>
  <p>I'm currently missing multiple dependencies like python-rhsm and selinux-policy which both only exist on the centos.pkgs repository.</p>