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
--- a/network.py
+++ b/network.py
@@ -618,6 +618,12 @@ class Network:
except:
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.
+
# /etc/sysconfig/network
if (not instPath) or (not os.path.isfile(destnetwork)) or flags.livecdInstall:
newnetwork = "%s.new" % (destnetwork,)
--
1.6.0.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list