Related: rhbz#500273 --- pyanaconda/network.py | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pyanaconda/network.py b/pyanaconda/network.py index 37f851c..8271257 100644 --- a/pyanaconda/network.py +++ b/pyanaconda/network.py @@ -915,14 +915,12 @@ class Network: def dracutSetupArgs(self, networkStorageDevice): netargs=set() - if networkStorageDevice.nic: - # Storage bound to a specific nic (ie FCoE) - nic = networkStorageDevice.nic - else: - # Storage bound through ip, find out which interface leads to host + if networkStorageDevice.nic == "default": nic = ifaceForHostIP(networkStorageDevice.host_address) if not nic: return "" + else: + nic = networkStorageDevice.nic if nic not in self.netdevices.keys(): log.error('Unknown network interface: %s' % nic) -- 1.7.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list