make kernel command line options configurable.
[noc.git] / ansible / usb-install.yml
index 7469fe2..bf4ce64 100644 (file)
@@ -49,7 +49,7 @@
               LABEL linux
                KERNEL linux
                INITRD initrd.preseed.gz
-               APPEND install vga=off console=ttyS0,115200n8
+               APPEND install{% for opt,val in (install.kernel_cmdline | default({})).items() %} {{ opt }}={{ val }}{% endfor %}
 
         - name: Make the USB disk bootable
           pause: