[PATCH 1/5] ksnet_to_dracut: drop useless mtu= arg

Will Woods wwoods at redhat.com
Wed Aug 29 18:07:13 UTC 2012


This isn't how dracut configures the mtu; drop it.
---
 dracut/parse-kickstart | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index b5b30dd..8d488d3 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -230,13 +230,6 @@ def ksnet_to_dracut(args, lineno, net, bootdev=False):
         if ns:
             line.append("nameserver=%s" % ns)
 
-    if net.mtu:
-        # XXX FIXME: dracut doesn't support mtu= (yet)
-        if net.device:
-            line.append("mtu=%s:%s" % (net.device, net.mtu))
-        else:
-            line.append("mtu=%s" % net.mtu)
-
     if bootdev:
         if net.device:
             line.append("bootdev=%s" % net.device)
-- 
1.7.11.4



More information about the anaconda-patches mailing list