2020-08-03, 16:43
Hi,
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
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:
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
Is this possible if yes please drop me some hint how to.
Thanks
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
Code:
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:
Code:
#!ipxe
dhcp
set distribution buster
set base_url http://deb.debian.org/debian/dists/${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
boot
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
Code:
initrd debian/preseed.cfg preseed.cfg
Is this possible if yes please drop me some hint how to.
Thanks