Modifing answer.toml

Apr 8, 2026
4
0
1
new to proxmox and saw the automated installations and was trying it out. i got it to work. then i was thinking of adding a post hook block to the TOML, but i can not for the life of me figure out how to manually add somthing to the answer.toml file, or even access the answer.toml file.
Any guidance would be appreciated. Thanks in advance.
 
Hi,

this entirely depends on the way you server your answer files.

Which method/tool are you currently using to provide the automated installations server?
 
Then it should be automatically added by the Datacenter Manager, pointing to itself. Depends on having the base URL and certificate fingerprint correctly set up though in the Authenication tab when editing a configuration.

The post-hook data is then available via the Datacenter Manager, on the left panel where all installations are listed.
Or via the its API under https://<pdm-url>/api2/json/auto-install/installations, which will list all installations including their post-installation hook data - if you'd like to access it programmatically.
 
  • Like
Reactions: Johannes S
The post-hook data is then available via the Datacenter Manager, on the left panel where all installations are listed. I see this, but this is the code after the installation. i am trying to add something to the answer.toml to do something else during the installation. When i go to https://<pdm-url>/api2/json/auto-install/installations ( I use the ip of my PDM with the port number:8443 i get an authentication failed message). i am trying to add a post-installation-webhook.. Very Grateful for your input.