Bug 881911 - Anaconda does not interpret $releasever and $basearch in a repo url in kickstart
Summary: Anaconda does not interpret $releasever and $basearch in a repo url in kickstart
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Samantha N. Bueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 969927
TreeView+ depends on / blocked
 
Reported: 2012-11-29 18:43 UTC by Andrew McNabb
Modified: 2013-06-24 17:47 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 969927 (view as bug list)
Environment:
Last Closed: 2013-06-24 17:47:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew McNabb 2012-11-29 18:43:02 UTC
Anaconda is failing to load a repository because it is sending "$releasever" and "$basearch" instead of interpreting these as variables. I do not recall having this problem in previous releases. 

I am installing Fedora 18 Beta (with anaconda 18.29.2).

I tried the following series of repo lines:

1) The repo:

repo --name=fedora-updates-testing --baseurl=http://mirrors.cs.byu.edu/fedora/updates/testing/$releasever/$basearch

failed to load in anaconda, and the http server gave the error:

File does not exist: /mirrors/fedora/updates/testing/$releasever

2) The repo:

repo --name=fedora-updates-testing --baseurl=http://mirrors.cs.byu.edu/fedora/updates/testing/18/$basearch

failed to load in anaconda, and the http server gave the error:

File does not exist: /mirrors/fedora/updates/testing/18/$basearch

3) Finally, the repo:

repo --name=fedora-updates-testing --baseurl=http://mirrors.cs.byu.edu/fedora/updates/testing/18/x86_64

worked without any errors.

Comment 2 Brian Lane 2012-12-05 15:28:49 UTC
Take a look at how livecd-creator does this, it does some substitutions in imgcreate/yuminst.py

Comment 3 Samantha N. Bueno 2013-06-24 17:47:40 UTC
Fixed for F19, see bug 967531.


Note You need to log in before you can comment on or make changes to this bug.