Sfoglia il codice sorgente

Only use initrd if present

Antony Messerli 3 mesi fa
parent
commit
2e8bfc4a1b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      roles/netbootxyz/templates/menu/utils-arm.ipxe.j2

+ 2 - 0
roles/netbootxyz/templates/menu/utils-arm.ipxe.j2

@@ -20,7 +20,9 @@ goto utils_exit
 :{{ key }}
 imgfree
 kernel {{ value.kernel }}
+{% if value.initrd is defined and value.initrd %}
 initrd {{ value.initrd }}
+{% endif %}
 boot
 goto utils_exit
 {% endif %}