[PATCH rhel7-branch] network kickstart: do not bind to MAC if SUBCHANNELS are present (#1070232)

Radek Vykydal rvykydal at redhat.com
Fri Feb 28 12:28:33 UTC 2014


Resolves: rhbz#1070232
---
 dracut/parse-kickstart | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index 2c70078..562d4f9 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -338,6 +338,7 @@ def ksnet_to_ifcfg(net, filename=None):
 
     s390cfg = s390_settings(dev)
     if s390cfg['SUBCHANNELS']:
+        ifcfg.pop('HWADDR')
         ifcfg['SUBCHANNELS'] = s390cfg['SUBCHANNELS']
     if s390cfg['NETTYPE']:
         ifcfg['NETTYPE'] = s390cfg['NETTYPE']
-- 
1.7.11.7



More information about the anaconda-patches mailing list