From: Jeff Bastian <jbastian@xxxxxxxxxx> In loader strverscmp(3) is used so the patch will cover vast majority of cases (although e.g. eth9 would precede eth10 in loader, whereas eth10 would precede eth9 in stage 2 if there were more than 10 devcies having link). Resolves: rhbz#760250 --- network.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/network.py b/network.py index df82152..15cf29c 100644 --- a/network.py +++ b/network.py @@ -353,7 +353,8 @@ class Network: bootif_mac = None if ksdevice == 'bootif' and flags.cmdline.get("BOOTIF"): bootif_mac = flags.cmdline.get("BOOTIF")[3:].replace("-", ":").upper() - for dev in self.netdevices: + # sort for ksdevice=link (to select the same device as in loader)) + for dev in sorted(self.netdevices): mac = self.netdevices[dev].get('HWADDR').upper() if ksdevice == 'link' and isys.getLinkStatus(dev): self.ksdevice = dev -- 1.7.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list