TODO? don't just let last device in the loop win in Network.write()
See comments in the patch.
network.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/network.py b/network.py
index 1c8bf67..609680e 100644
@@ -618,6 +618,12 @@ class Network:
log.warning("unable to copy %s to target system" % (dhclientconf,))
+ # TODORV: note that we use the last dev from the loop above
+ # at some places below which is ok for one net device, but
+ # maybe not if we have more devices - perhaps we should take
+ # care of this case.
if (not instPath) or (not os.path.isfile(destnetwork)) or flags.livecdInstall:
newnetwork = "%s.new" % (destnetwork,)
Anaconda-devel-list mailing list