OpenMediaVault-Plugin-Developers / openmediavault-pxe

OpenMediaVault plugin for PXE
20 stars 2 forks source link

Default values does not permit to boot Memtest (and others) image #5

Open IridiumXOR opened 7 years ago

IridiumXOR commented 7 years ago

I have installed the TFTP server and PXE service with memtest image. The PXE plugin appends to pxelinux.cfg/default the record for memtest with INITRD empty row. This behavior does not permit to PCs to correctly boot the image because they try to load a non-existent initrd file.

If you remove manually INITRD row from the pxelinux.cfg/default PCs correctly boot. So, is it possible to block PXE plugin to append empty directives to the configuration file?

And also (there is another bug) if you try to save an entry with an empty APPEND row the plugin do not permit to save the configuration, so you are forced to insert into APPEND field " - " to save the configuration

ryecoaaron commented 7 years ago

I will make the fields optional and not write the row if it is blank.