automated install via PXE boot

FingerlessGloves

Well-Known Member
Oct 22, 2019
46
6
48
Hi

I've setup the proxmox installer to work via PXE boot, and I was hoping I could provide the answers file via the cmdline, since it makes deploying a number of proxmox hosts much easier, from a static http server.

Do I need to embed the answers file in to the ISO, or can I specify the answer URL in the kernel line, so I can has per host install entries in my PXE boot menu?

Far as I can tell I can't do this looking at https://github.com/proxmox/pve-installer but perhaps i'm misunderstanding the logic.

Love to hear back
 
https://pve.proxmox.com/wiki/Automated_Installation
Prepare the ISO with the proxmox-auto-install-assistant to the method you want to use.

So, for example, set it to HTTP and then point it to your server that provides the answer files. The whole process is explained in that page.
 
Last edited:
That's what the HTTP server variant is for. One ISO that points to the same server. Then the server gets identifier infos from the host requesting an answer.toml file. How the server then decides which answer file to deliver, is up to the http answer server.

The example python based server, for example, is matching MAC addresses.
 
I'll have to think up another method, I don't want to spin up a python server, just to allow the correct toml download to be distributed.

I'll have a think
 
Many DHCP servers allow you to specify custom codes (250 here) for a given MAC, without scripting.. you can also cheat and use info from the request in apache or nginx to match a file on the server..