Automated installation with netboot.xyz

kayson

New Member
Feb 13, 2024
11
1
3
Posting the results of my debug efforts, since I couldn't find anything here after a search. I wanted to get automated installs set up with my netboot.xyz instance (with LSIO's image), using an answer file served over http, but ran into a couple of problems.

The first was serving the static answer file from the container's built-in nginx http server. It's mentioned in the docs, but I missed it - the installer sends a POST request to the specified URL. nginx will not serve static content to a POST request, but you can change that by adding: error_page 405 =200 $uri; to the location block in the nginx config file in the container (/config/nginx/site-confs/default).

The second was getting my prepared iso to actually trigger the automation. I figured just having the extra files in the ISO would be good enough, but you actually need to add a kernel argument to trigger it. I used: splash=silent proxmox-start-auto-installer

For a full writeup, including the whole iPXE menu file, feel free to check: https://n1.602176634e-19.pro/006-automated-proxmox-ve-installation-with-netboot.xyz/
 
  • Like
Reactions: LeLuc

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!