[PATCH] don't write network settings on image install

Brian C. Lane bcl at redhat.com
Mon Dec 3 15:32:10 UTC 2012


On Mon, Dec 03, 2012 at 10:27:03AM +0100, Vratislav Podzimek wrote:
> On Fri, 2012-11-30 at 21:14 -0800, Brian C. Lane wrote:
> > From: "Brian C. Lane" <bcl at redhat.com>
> > 
> > ---
> >  pyanaconda/install.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/pyanaconda/install.py b/pyanaconda/install.py
> > index 14bc4a5..1282d74 100644
> > --- a/pyanaconda/install.py
> > +++ b/pyanaconda/install.py
> > @@ -68,7 +68,7 @@ def doConfiguration(storage, payload, ksdata, instClass):
> >          ksdata.firewall.execute(storage, ksdata, instClass)
> >          ksdata.xconfig.execute(storage, ksdata, instClass)
> >  
> > -    if not flags.imageInstall:
> > +    if not flags.flags.imageInstall:
> >          with progress_report(_("Writing network configuration")):
> >              writeNetworkConf(storage, ksdata, instClass)
> >  
> Where does the original flags.imageInstall line come from? I cannot see
> it in pyanaconda/install.py. Old version of the patch in your git? The
> final version looks good to me.

Oops, forgot to squash the fix to my first attempt :) It is just that
single line change.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20121203/831f2d8b/attachment.sig>


More information about the anaconda-patches mailing list