On Mon, Dec 19, 2016 at 12:19:02AM +0100, Geert Stappers wrote: > > And when it is not a preseedfile > then debian-installer fails with following "red" error: > > [!!] Download debconf preconfiguration file > Failed to process the preconfiguration file > The installer failed to process the preconfiguration file from <bootfile>. > The file may be corrupt. > > At least the text 'The file may be corrupt' could be changed into > 'The file is not in expected format or simply corrupt'
With it first line like '#!preseed' or '#!debconf' could be detected if it was a preseed file. Groeten Geert Stappers -- Leven en laten leven