I'm trying to customize the Debian 11 iso image with cubic. The most important parameter that I should set up within cubic is the following :
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on"
d-i debian-installer/add-kernel-opts string intel_iommu=on
d-i passwd/root-password password marietto
My doubt was : how and where to place the preseed.cfg file ? I've found part of the solution by watching this video tutorial :
https://www.youtube.com/watch?v=QdA7UX5VJjc
and on this github :
https://github.com/Nidouille/Debian-Aut ... stallation
He says to do something like this :
Ajout du fichier de pré configuration dans initrd
Code: Select all
echo preseed.cfg | cpio -H newc -o -A -F isofiles/install.amd/initrd gzip isofiles/install.amd/initrd
Code: Select all
gunzip initrd.gz
echo preseed.cfg | cpio -H newc -o -A -F initrd gzip debian-11-unattended/d-i/initrd
cpio: Too many arguments