Related: rhbz#500273 --- network.py | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/network.py b/network.py index ac6a901..5d9e9b5 100644 --- a/network.py +++ b/network.py @@ -762,14 +762,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