pve-iso-2-pxe icon indicating copy to clipboard operation
pve-iso-2-pxe copied to clipboard

Proxmox 8.2 auto install with answer file.

Open exc414 opened this issue 7 months ago • 4 comments

Hello,

I used pve-sio-2-pxe script and ipxe example to get proxmox booted using ipxe. That worked without issues. However, I notice that this removes the ability to automatically install proxmox with an answer file.

If I use my custom iso that I made as per proxmox instructions, using a USB the automated installation works. However, when I run the custom iso through the pve-iso-2-pxe.sh. I then copy the initrd and linux26, automation is no longer possible.

Command to create custom iso with answer :

proxmox-auto-install-assistant prepare-iso /path/to/source.iso --fetch-from http --url "https://10.0.0.100/get_answer/"

Docs : https://pve.proxmox.com/wiki/Automated_Installation (Answer Fetched via HTTP)

I found a thread : https://forum.proxmox.com/threads/auto-install-through-pxe.146270/

There is a suggestion that adding : proxmox-start-auto-installer to kernel cmdline might required. My ipxe script looks like

set opts ?vga=791&video=vesafb:ywrap,mtrr&ramdisk_size=16777216&rw&quiet&initrd=initrd
set kernel ${webserver}/linux26${opts}&splash=verbose&proxdebug
initrd ${webserver}/initrd
chain ${kernel}

I tried adding proxmox-start-auto-installer at the end of the set kernel line with &proxmox-start-auto-installer, however that did not work.

I am wondering if anyone has run into this issue or has any guidance on how to proceed.

Thank you.

exc414 avatar Jul 01 '24 02:07 exc414