Description of problem:
According to the docs and Spot you should be able to turn on the updates repo from kickstart with the following:
This fails with anaconda complaining that we are not providing --baseurl or --mirrorlist.
If I fill in either of those options we still don't get any updates installed.
If I then change the name of the repo to --local-updates, then it works.
So specifying a repo name of updates must conflict with the internal repo, but there doesn't seem to be any way to turn this on.
Hopefully this can be sorted out in rawhide and F15.
Do you see the log message:
log.warning("ignoring duplicate repository %s with URL %s" % (repo.name, repo.mirrorlist or repo.baseurl))
If so, that would confirm your theory that the name is conflicting with the internal repo. I also think you're right on the rest of this too.
I don't know where the documentation says you can do this, but it certainly has never worked. One of mirrorlist or baseurl has always been required for the repo command We can probably change it to make a repo without mirrorlist/baseurl refer to a previously defined Fedora one and if that fails, then fail the whole thing instead.
Are you also going to want to set cost, excludepkgs, includepkgs, proxy, etc. on the updates repo? Or, can I get away with saying if you provide the name of something that already exists in the repo config files, all you can do is enable it?
I don't think we need to set any of those things. If we are asking for a pre-defined repo we want the defaults of that repo.