[PATCH] mtu is a string from kickstart, not number (#832332)
Jesse Keating
jkeating at redhat.com
Wed Jul 18 19:14:19 UTC 2012
---
dracut/parse-kickstart | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart
index aa4e0e8..3b6b861 100755
--- a/dracut/parse-kickstart
+++ b/dracut/parse-kickstart
@@ -195,9 +195,9 @@ def ksnet_to_dracut(args, lineno, net, bootdev=False):
if net.mtu:
# XXX FIXME: dracut doesn't support mtu= (yet)
if net.device:
- line.append("mtu=%s:%u" % (net.device, net.mtu))
+ line.append("mtu=%s:%s" % (net.device, net.mtu))
else:
- line.append("mtu=%u" % net.mtu)
+ line.append("mtu=%s" % net.mtu)
# TODO: nodefroute, noipv[46], nodns: pass along to 'ifcfg' module somehow
# TODO FIXME dhcpclass: dracut only uses one dhclient.conf for all ifaces
--
1.7.10.4
More information about the anaconda-patches
mailing list