[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Spacewalk-devel] [Patch] fix size of kernel_options field for autoinstallation


the field in the web UI for the kernel_options is limited to 64 characters. In practice that's not needed.
The attached patch solves that by increasing it to 1024

ciao, Uwe Gansert

SUSE LINUX Products GmbH, HRB 16746 (AG N├╝rnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imend├Ârffer
Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net
listening to: "Snuff Machinery 2007" by Sitd
commit a1c929ae44fd80b6cd77d5bf55286873df11dc11
Author: Uwe Gansert <ug suse de>
Date:   Mon Jul 18 13:48:52 2011 +0200

    changed kernel-params field to 1024 chars in size (bnc#698166)

diff --git a/java/code/webapp/WEB-INF/pages/common/fragments/kickstart/advanced/details.jspf b/java/code/webapp/WEB-INF/pages/common/fragments/kickstart/advanced/details.jspf
index be94c2b..7e2e5c8 100644
--- a/java/code/webapp/WEB-INF/pages/common/fragments/kickstart/advanced/details.jspf
+++ b/java/code/webapp/WEB-INF/pages/common/fragments/kickstart/advanced/details.jspf
@@ -56,12 +56,12 @@
             <th><bean:message key="kickstartdetails.jsp.kernel_options"/></th>
-            <td><html:text property="kernel_options" maxlength="64" size="32" /></td>
+            <td><html:text property="kernel_options" maxlength="1024" size="32" /></td>
             <th><bean:message key="kickstartdetails.jsp.post_kernel_options"/></th>
-            <td><html:text property="post_kernel_options" maxlength="64" size="32" /></td>
+            <td><html:text property="post_kernel_options" maxlength="1024" size="32" /></td>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]