Re: [PATCH] Preserve existing network configuration files during install.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-12-05 at 09:59 -1000, David Cantrell wrote:
> +
> +            cfgfile = "%s/ifcfg-%s" % (netscripts, device,)
> +            if os.path.isfile(cfgfile):
> +                continue
> +

Reading through this, I think this is really only a concern when writing
out the InstallData, IE after install.  This would be when you have an
instPath of something like /etc/sysimage/.  However during install, we
do call a write out of the network config files, with an install path of
'', so that we can write to the /etc/sysconfig/network-scripts/
directory in the install environment and trigger NetworkManager to bring
the network up.  Since this file is already pre-generated at some point
(didn't search for where) we'll always see that the path isfile and
continue without writing our temporary settings to it.  As such,
NetworkManager never sees new configs and never brings up the network
from the GUI.

I think the way around this is to only do the check if we have something
in instPath other than '', although I'm not entirely sure of the
semantics around that.  Willing to try updates.img with workarounds (:

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux