The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding preseed file into image
2020-08-03, 16:43
Post: #1
adding preseed file into image

i'm trying to create an ipxe iso file where the preseed config file is directly referenced from the initial ramdisk.

I found some post doing something in this direction but using a png image, but when trying to

make bin/ipxe.iso  EMBED=current.ipxe,preseed.cfg CERT=$ca_file TRUST=$ca_file

it seems to break the initial ramdisk. I think the preseed.cfg is intepreted as a script and the build process trys to interpret it instead of just adding it.

the current.ipxe looks something like this:

set distribution buster
set base_url${distribution}/main
set boot_params ... some boot params

kernel ${base_url}/installer-amd64/current/images/netboot/debian-installer/amd64/linux ${boot_params}
initrd $base_url/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz

and the preseed.cfg is similar to the default debian 10 preseed

I would refrence it like described here

by adding an additional initrd to the current.ipxe
initrd debian/preseed.cfg preseed.cfg

Is this possible if yes please drop me some hint how to.

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
adding preseed file into image - tangel - 2020-08-03 16:43

User(s) browsing this thread: 1 Guest(s)