Build Proxmox from an ISO image to a full server with VMs.

Erlicthemad

New Member
Sep 2, 2025
1
0
1
Toledo, Ohio
I am looking for a way to build a Proxmox server from an ISO disk. Effectively, I need to build a field server that is a Proxmox-based system built with the automated installation file. The running Ansible-pull as an Ansible user to execute a build operation to install and set up multiple VMs and services on the server automatically. This way, I can have the server start with empty hard drives, and when booted with the ISO or USB stick, it will build a full field production server ready to run. Since the server must be wiped at the end of each deployment, I need to make in that situation as easy and bulletproof as possible.

I currently have a Build with the answer file that can build up the server to a running state and execute the first boot shell script. This can create the Ansible user account. But we have not yet found a way to tell the server to execute a script using Ansible to perform the Ansible pull. Are there any suggestions on how to perform this with less difficulty?

Originally, I was considering using the cloud-init functions. But the Debian installation of cloud-init does not support the cc_ansible options. If that worked, I would start with a base Debian rather than a Proxmox build. Then build the Proxmox into it. I have seen discussions of people using Ubuntu to accomplish this, and they will utilize Ansible. However, my understanding is that running Proxmox on an Ubuntu-based system is not a good idea.

Does anyone have any suggestions on how to accomplish this?