How to include additional files to be used by the on-first-boot script during automated installation?

talltree

New Member
May 6, 2025
2
0
1
When doing automated installation, my on-first-boot script requires additional files. How can I pack those additional files into the iso such that they can be used by the on-first-boot script?

Understand that the on-first-boot script resides at /var/lib/proxmox-first-boot/proxmox-first-boot on the installed proxmox node.
 
Hi,

there isn't a method to directly pack files into the ISO.
How big are the files you are talking about? The first-boot script got a size limit of 1 MiB (currently), so it would be possible - assuming the script and the additional files are not that big - to pack these files into the script itself, using something like e.g. shar(1).

Otherwise, you can of course also download them from some location on your (internal) network in your first-boot script, much you might already do with the answer file and/or first-boot script.