diff options
Diffstat (limited to 'templates/s390x_parm.template')
-rw-r--r-- | templates/s390x_parm.template | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/s390x_parm.template b/templates/s390x_parm.template new file mode 100644 index 00000000..f536c0d0 --- /dev/null +++ b/templates/s390x_parm.template @@ -0,0 +1,21 @@ +## Stuff content into a list so we can display a condensed format later +#if $isinstance($kernel_options, $list) +#set $argList = $kernel_options +#else +#set $argList = $kernel_options.split(" ") +#end if +## ===================================== +## Now write out data. Content cannot be longer than 80 characters in length, +## and must not exceed 11 lines +## ===================================== +#set $output_str="" +#for $item in $argList +#if $len($output_str) + $len($item) >= 80 +#echo "%s\n" % $output_str.strip() +#set $output_str = "" +#end if +#set $output_str = "%s %s" % ($output_str, $item) +#end for +#if $len($output_str) > 0 +#echo "%s\n" % $output_str.strip() +#end if |