[CentOS] Kickstart "Error setting up base repository"

Tue Jan 19 17:43:17 UTC 2021
Stephen John Smoogen <smooge at gmail.com>

On Tue, 19 Jan 2021 at 12:27, Alex Kirk <akirk at corelight.com> wrote:

> I recently built my first CentOS kickstart config on a CentOS 7 system; it
> runs well, but the OS and its tools are old enough that it's causing pain
> with the apps I want to run on top of said system, so I'm trying to port it
> to CentOS 8.
>
> I've taken the anaconda-ks.cfg file created from a successful manual
> install (of both regular 8 and Stream), placed it on my DVD ISO, and
> wrapped things back up like I was doing with CentOS 7. I'm successfully
> beginning the installation, but running into "Error setting up base
> repository" - despite having not touched either the filesystem structure of
> the ISO, or the generated kickstart file that points at my repos.
>
> Here is the relevant config:
>
> #version=RHEL8
> # Use graphical install
> graphical
>
> repo --name="AppStream"
> --baseurl=file:///run/install/sources/mount-0000-cdrom/AppStream
>
>
I think you need to have a repo for every repository used including the
baseOS one.. like

repo --name="BaseOS"
--baseurl=file:///run/install/sources/mount-0000-cdrom/BaseOS


-- 
Stephen J Smoogen.