I’m attempting to ‘remaster’ the ISO with a few edits - essentially using this slightly-edited ISO to kick-off automated installs.
Previously, to customize the alternate installer, I would extract the ISO contents, and then place a customized ks.cfg
and ks.preseed
in the root of the OS files, and would also update kernel parameters at boot/grub/grub.cfg
before using xorisso
commands to regenerate the ISO.
Going forward, I understand that my ks.cfg and ks.preseed would be replaced by customizations in my cloud-init
file on an HTTP server, but I was hoping to still customize boot/grub/grub.cfg
to point to that cloud-init file on the HTTP server. Essentially, that grub.cfg file is the only file I’m wishing to change.
I do have the initial ISO extraction and recompilation sorted out (with many thanks to this Debian wiki page and the xorriso documentation.
I put the necessary cloud-init files up at my-own-server-url, and My grub.cfg includes this line:
linux /casper/vmlinuz$casper_flavour quiet autoinstall ds=nocloud-net;s=http://my-own-server-url/
Am I on the right track here?