[rhel7/master] Preserve kickstart url behavior for mirrorlist (#1109933)

Brian C. Lane bcl at redhat.com
Wed Jan 7 17:27:09 UTC 2015


On Wed, Jan 07, 2015 at 08:46:35AM +0100, Vratislav Podzimek wrote:
> On Tue, 2015-01-06 at 16:34 -0800, Brian C. Lane wrote:
> > url could be --mirrorlist instead of --url. Don't assume url is set, and
> > for mirrorlist pass inst.repo=None to preserve current behavior (there
> > is no cmdline way to represent a mirrorlist).
> Is 'inst.repo=None' what we really want? I mean, wouldn't it result in
> something like "malformed URL: 'None'"? If that's not the case or if
> it's what we really want, ACK.

Yep, that's what we want, at least for now. It makes the
anaconda.methodstr setup in anaconda fall off the end and then it gets
fixed up later on in the source setup/payload code. Not terribly clean,
but it works and changes the least amount of things.

Previous to the NFS change it was falling through and failing to write
the yum.conf correctly because of a missing \n, but that part has been
fixed by a different patch.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list