Debug first boot hook

rtkern9k

New Member
Jan 10, 2025
1
0
1
I am excited to use the new "First Boot Hook" feature added in PVE 8.3 for automated installation. Following the docs, I added a section to my automated answer file as follows:
[first-boot]
source = "from-iso"
ordering = "fully-up"

I then added the answer file and a simple "post_install.sh" script to the proxmox 8.3 ISO as follows:
proxmox-auto-install-assistant prepare-iso proxmox-ve_8.3-1.iso --on-first-boot post_install.sh --fetch-from iso --answer-file answer.toml

The answer file validation and ISO preparation succeeded. When I burn the automated ISO and perform an automated installation using it, everything looks successful, but I cannot find any evidence that my "post_install.sh" script ran or even attempted to do so. Do you have any suggestions as to how to debug the first book hook execution? I couldn't find where the script should be on the automated ISO (to confirm the ISO preparation was successful), where the script is on the installed system (to confirm the script was being installed) or any log files to indicate the first boot hook was attempted. I feel like I am missing something simple here and would appreciate any guidance on where to look to debug why this isn't working as intended.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!