Add 'cmdline' template option.
[mclu.git] / mclu_boot.ml
index c1054e5..625aea2 100644 (file)
@@ -243,6 +243,11 @@ Try: `mclu on %s'\n" hostname hostname;
 " remote_external_kernel remote_external_initrd
       else "" in
 
+    let xml = xml ^
+      match template_info.Template.cmdline with
+      | Some cmdline -> sprintf "    <cmdline>%s</cmdline>\n" cmdline
+      | None -> "" in
+
     let xml = xml ^ "\
   </os>
   <features>