diff options
author | cos <cos> | 2023-11-01 10:49:46 +0100 |
---|---|---|
committer | cos <cos> | 2023-11-01 11:18:08 +0100 |
commit | 34f32b89574afa54436d26efc19cf9da71ce49dd (patch) | |
tree | e34fbd9513bbf4baeba3b37c8b276f38604b3e28 | |
parent | dab831621b8a90e7ea9ace737d29fa0a4f17bf39 (diff) | |
download | steve-scripts-topic/identify_preseed.zip |
Start each generated file with #_preseed_V1topic/identify_preseed
As mentioned in [Appendix B][B.3] of the bookworm Installation Guide
> The file should start with #_preseed_V1
[B.3]: https://www.debian.org/releases/bookworm/amd64/apbs03.en.html
-rwxr-xr-x | extract_template.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extract_template.pl b/extract_template.pl index c11137f..e1c6632 100755 --- a/extract_template.pl +++ b/extract_template.pl @@ -210,6 +210,7 @@ if (scalar (@ARGV)) { open($out_fh, ">", "$outfile.new") or die "Can't open $outfile.new for writing: $!\n"; } + print $out_fh "#_preseed_V1\n"; foreach my $file (@inputs) { if ($verbose) { print STDERR "Checking for debs in $file\n"; |