Red Hat Bugzilla – Bug 1026841
virt-install runs anaconda with method= instead of inst.repo=
Last modified: 2014-01-18 13:26:56 EST
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:
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):
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
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.
Fixed upstream now:
Author: Cole Robinson <email@example.com>
Date: Sat Jan 18 13:04:47 2014 -0500
urlfetcher: Use inst.repo kernel option for new RH distros (bz 1026841)
Since the current situation works fine, and this will hit rawhide within the month, just closing.