Hi there,
dear Proxmox Team,
TLDR: it is totally confusing that the installer SENDS JSON data instead of simply fetching a regular answer file! No idea how i can use that... i'm not devops...
IMHO, the documentation for this new feature is lacking critical information.
Like a lot of Proxmox documentation, it's more of "here is what's available", but not really giving easy to grasp answers to "Use-Case xyz".
I am at a loss on how to serve the answer .txt-file - because i simply can't provide one from HTTP, right?
I put my validated auto.txt on that webserver and prepare the ISO with
But that won't work, because only after digging through webserver logs i find out that it's doing a POST instead of a GET
Well, yes, it's mentioned in the docs - in a single line, without any further explanation.
That is totally unexpected!
I 100% expected it to fetch a file.
Now I have no idea how to handle receiving a JSON Post and then somehow dynamically sending back a valid answer.
I'm a regular sysadmin, never had to deal with writing my own webserver and delivering code back to requests like that...
I guess i understand why - we need a dynamic system to deliver different data per machine (like matching MAC to a static IPs) without replacing the text file every few seconds or generating seperate ISOs for each host ;-)
But there is only a single search-hit for "POST" in https://pve.proxmox.com/wiki/Automated_Installation - that is just not enough to use it.
This needs thorough examples!
What software should we use as webserver/JSON-recipient? How do we code dynamic answers? ...
I'd actually expect that to be put in a single .txt file - with the filter-matching, "if x, then y", so you could add all youe servers in there and have it statically served.
dear Proxmox Team,
TLDR: it is totally confusing that the installer SENDS JSON data instead of simply fetching a regular answer file! No idea how i can use that... i'm not devops...
IMHO, the documentation for this new feature is lacking critical information.
Like a lot of Proxmox documentation, it's more of "here is what's available", but not really giving easy to grasp answers to "Use-Case xyz".
I am at a loss on how to serve the answer .txt-file - because i simply can't provide one from HTTP, right?
I put my validated auto.txt on that webserver and prepare the ISO with
proxmox-auto-install-assistant prepare-iso --fetch-from http --url http://10.10.10.10/pxtest/auto.txt proxmox-ve_8.2-1.iso
But that won't work, because only after digging through webserver logs i find out that it's doing a POST instead of a GET
Well, yes, it's mentioned in the docs - in a single line, without any further explanation.
The HTTP(S) POST request sends JSON data that can help to identify the physical machine and use that information to generate a custom answer file.
That is totally unexpected!
I 100% expected it to fetch a file.
Now I have no idea how to handle receiving a JSON Post and then somehow dynamically sending back a valid answer.
I'm a regular sysadmin, never had to deal with writing my own webserver and delivering code back to requests like that...
I guess i understand why - we need a dynamic system to deliver different data per machine (like matching MAC to a static IPs) without replacing the text file every few seconds or generating seperate ISOs for each host ;-)
But there is only a single search-hit for "POST" in https://pve.proxmox.com/wiki/Automated_Installation - that is just not enough to use it.
This needs thorough examples!
What software should we use as webserver/JSON-recipient? How do we code dynamic answers? ...
I'd actually expect that to be put in a single .txt file - with the filter-matching, "if x, then y", so you could add all youe servers in there and have it statically served.
Last edited: