Ie when network is not activated in dracut.
Related: rhbz#1085310
If not overriden by ksdevice.
Added label: rhel7-branch.
From: Radek Vykydal rvykydal@redhat.com
Ie when network is not activated in dracut.
Related: rhbz#1085310
If not overriden by ksdevice. --- pyanaconda/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/network.py b/pyanaconda/network.py index 31c06a3..678e631 100644 --- a/pyanaconda/network.py +++ b/pyanaconda/network.py @@ -1175,7 +1175,7 @@ def update_hostname_data(ksdata, hostname):
def get_device_name(network_data):
- ksspec = network_data.device or flags.cmdline.get('ksdevice') or "" + ksspec = network_data.device or flags.cmdline.get('ksdevice') or "link" dev_name = ks_spec_to_device_name(ksspec) if not dev_name: return ""
Might as well remove the blank line right above. Looks good to me.
Added label: ACK.
Pushed.
Closed.
anaconda-patches@lists.fedorahosted.org