+ let cmdline =
+ match run_template ~verbose filename "cmdline" [] with
+ | Some [cmdline] -> Some cmdline
+ | _ -> None in
+
+ if not needs_external_kernel && cmdline <> None then (
+ eprintf "mclu: template cannot set 'cmdline' unless 'needs-external-kernel' is 'yes'.\n";
+ exit 1
+ );
+