Bug 1026841 - virt-install runs anaconda with method= instead of inst.repo=
Summary: virt-install runs anaconda with method= instead of inst.repo=
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 14:13 UTC by Kamil Páral
Modified: 2014-01-18 18:26 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-18 18:26:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1026834 0 unspecified CLOSED method= combined with 'url' in kickstart fails to find packages, in certain situations 2023-09-14 01:53:07 UTC

Internal Links: 1026834

Description Kamil Páral 2013-11-05 14:13:24 UTC
Description of problem:
If I run a command like this:

$ virt-install --name FedoraTest --ram 1024 --disk pool=default,size=10 --location http://dl.fedoraproject.org/pub/alt/stage/20-Beta-RC2/Fedora/x86_64/os/ --initrd-inject ks.cfg --extra-args "ks=file:/ks.cfg"

it starts Anaconda with method=http://dl.fedoraproject.org/pub/alt/stage/20-Beta-RC2/Fedora/x86_64/os/ . method= is obsolete, inst.repo= should be used instead:
http://fedoraproject.org/wiki/Anaconda_Boot_Options

Even though Anaconda tries to hold compatibility, it causes some weird bugs in corner cases, like bug 1026834.

Please start using inst.repo= instead of method= when running Anaconda.

Version-Release number of selected component (if applicable):
virt-install-0.10.0-4.git79196cdf.fc20.noarch

Comment 1 Cole Robinson 2013-11-05 15:51:59 UTC
How long has 'inst.repo' actually been available? Since we will need to maintain back compat for old RH distros where it isn't available

Comment 2 Kamil Páral 2013-11-05 16:20:42 UTC
Anaconda documentation is a mess (every single page claims that it is outdated). But according to the wiki page history, method= is deprecated (and repo= is available) since June 2008.

The absolutely correct version is inst.repo= (but repo= should currently work as well). The general "inst" prefix is quite new, I think a year or so. If you need this information, please put needinfo on bcl or some other anaconda team member. Thanks.

Comment 3 Cole Robinson 2014-01-18 18:26:24 UTC
Fixed upstream now:

commit 073b3a69e38dab0c21d11aff85fa46164825c1ef
Author: Cole Robinson <crobinso>
Date:   Sat Jan 18 13:04:47 2014 -0500

    urlfetcher: Use inst.repo kernel option for new RH distros (bz 1026841)

Comment 4 Cole Robinson 2014-01-18 18:26:56 UTC
Since the current situation works fine, and this will hit rawhide within the month, just closing.


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