[rhel7-branch 1/1] network: assume --device=link as default also for ks on hd (#1085310)
rvykydal
installerbot-noreply at redhat.com
Mon Aug 31 11:56:35 UTC 2015
From: Radek Vykydal <rvykydal at 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 ""
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/035cc44770dd67b377dbc73951b9e453d05b251e
More information about the anaconda-patches
mailing list