5 Gave up on repo commands, just installed packages after kickstart
source | link

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel --baseurl=http://dl.fedoraproject.org/pub/epel/7/x86_64/

I got YUM exceptions during the kickstart installation whenever I tried to specify aAnaconda supports substituting mirrorlist$basearch or useand other variables in a kickstart download.fedoraproject.orgrepo forcommand.

Ultimately I had a lot of trouble with baseurlrepo (which would havecommands and was not able to install the redirected to a mirrorepel-release package from kickstart. I gave up and used Packer and Ansible to install packages instead.

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel --baseurl=http://dl.fedoraproject.org/pub/epel/7/x86_64/

I got YUM exceptions during the kickstart installation whenever I tried to specify a mirrorlist or use download.fedoraproject.org for a baseurl (which would have redirected to a mirror.

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Anaconda supports substituting $basearch and other variables in a kickstart repo command.

Ultimately I had a lot of trouble with repo commands and was not able to install the epel-release package from kickstart. I gave up and used Packer and Ansible to install packages instead.

4 Added note on download.fedoraproject.org not even working
source | link

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel --baseurl=http://downloaddl.fedoraproject.org/pub/epel/7/x86_64/

I got YUM exceptions during the kickstart installation whenever I tried to specify a mirrorlist. I used the baseurl or use http://download.fedoraproject.org/ ... rather thanfor a http://dl.fedoraproject.org/ ...baseurl (which would have because download automatically redirectsredirected to a mirror.

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel --baseurl=http://download.fedoraproject.org/pub/epel/7/x86_64/

I got YUM exceptions during the kickstart installation whenever I tried to specify a mirrorlist. I used the baseurl http://download.fedoraproject.org/ ... rather than http://dl.fedoraproject.org/ ... because download automatically redirects to a mirror.

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel --baseurl=http://dl.fedoraproject.org/pub/epel/7/x86_64/

I got YUM exceptions during the kickstart installation whenever I tried to specify a mirrorlist or use download.fedoraproject.org for a baseurl (which would have redirected to a mirror.

3 Added information on Fedora MirrorManager documentation
source | link

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel http--baseurl=http://mirrorsdownload.fedoraproject.org/metalink?repo=epel-7&arch=x86_64pub/epel/7/x86_64/

(When I tried to use the https URL I got YUM exceptions during the kickstart installation) whenever I tried to specify a mirrorlist. I used the baseurl http://download.fedoraproject.org/ ... rather than http://dl.fedoraproject.org/ ... because download automatically redirects to a mirror.

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel http://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64

(When I tried to use the https URL I got YUM exceptions during the kickstart installation).

The Fedora Project has some documentation on its mirrorlists on its MirrorManage wiki page.

metalink=http://mirrors.fedoraproject.org/metalink?repo=fedora-10&arch=$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=$basearch

I also discovered that the CentOS 7 epel-release package installs a configuration file at /etc/yum.repos.d/epel.repo which had some clues:

[epel]
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

Ultimately I ended up with:

repo --name=epel --baseurl=http://download.fedoraproject.org/pub/epel/7/x86_64/

I got YUM exceptions during the kickstart installation whenever I tried to specify a mirrorlist. I used the baseurl http://download.fedoraproject.org/ ... rather than http://dl.fedoraproject.org/ ... because download automatically redirects to a mirror.

2 Added information on Fedora MirrorManager documentation
source | link
1
source | link