According to https://fedoraproject.org/wiki/Anaconda/Kickstart#url it should be possible to use $releasever and $arch in the 'url' kickstart parameter and have them substituted appropriately, but this does not appear to work. I've tested with 19, 20 and 21/rawhide, it does not work in any of them; I'm filing this against 20 because I believe the situation for 21/rawhide is complicated by the use of dnf.
There is a kickstart at http://fedorapeople.org/groups/qa/kickstarts/base-net-generic.ks which should be usable to reproduce this bug, it contains the following line:
but when booting a netinst ISO from 19, 20 or 21 with 'inst.ks=ttp://fedorapeople.org/groups/qa/kickstarts/base-net-generic.ks' , the installer stops at the hub with the Installation Source hub in error state, showing the message "Error setting up base repository". If you enter the hub, it shows the URL exactly as written in the kickstart - that is, without $releasever and $arch being substituted.
bcl asked me to look for a line "adding yum repo, name: ..." in the logs, but no such line appears to be present. I will attach logs from a Fedora 20 reproduction of this bug, using the official release F20 x86_64 netinst.iso image.
Created attachment 917461 [details]
anaconda.log from an affected f20 install
Created attachment 917462 [details]
packaging.log from an affected run
Note interesting line:
23:24:19,996 ERR packaging: base repo (url/None) not valid -- removing it
Created attachment 917463 [details]
program.log from an affected install
Created attachment 917464 [details]
journal output from an affected install
$basearch not $arch, sorry I didn't notice before.
well shoot, I dunno how I didn't notice that either! I'll check it works with the change applied. D'oh.
yeah, seems to work. sorry for the pebkac.