Auto-installer proxmox-ve_x.y-z-auto-from-http.iso - include in regular ISO download?

esi_y

Renowned Member
Nov 29, 2023
1,703
259
63
github.com
So I have used the new (to me) Auto installation by Proxmox:
https://pve.proxmox.com/wiki/Automated_Installation

This is the FIRST TIME I actually could say I might not need Debian installer anymore. Thanks to whoever (probably @aaron?) baked this.

QUESTION: Why not provide the --fetch-from http within a regular download?

Just to be clear, why not include the feature in the regular installer, i.e. when it gets DHCP option 250 or finds DNS entry, will proceed accordingly (unless something else is selected at boot)?

It makes for perfect deployment via PXE.

Second question - can I find it on GIT?
 
Last edited:
Hi,

QUESTION: Why not provide the --fetch-from http within a regular download?

Just to be clear, why not include the feature in the regular installer, i.e. when it gets DHCP option 250 or finds DNS entry, will proceed accordingly (unless something else is selected at boot)?
To clarify: So when it finds the DHCP option, it should automatically switch to an unattended installation?

First of, an ISO that has been prepared for auto-installer can be used "manually" too, nothing prevents you from just choosing the graphical or terminal install option. So really, you can use it both ways and no need for any automagic that might surprise users.

Well, normally in any environment, you clearly different between automated and manual installation. Or - to say another way - if you have the need for the unattended installer to deploy to lot of server, you probably only use that one way anyway.
But you might not want this automatically, e.g. you already use DHCP option 250 for something else in your internal network or whatever.

In the end, this would mean making assumptions about the target network that you simply cannot reasonably make.

Second question - can I find it on GIT?
Of course: https://git.proxmox.com/?p=pve-installer.git;a=tree
 
  • Like
Reactions: esi_y
To clarify: So when it finds the DHCP option, it should automatically switch to an unattended installation?

Yes, basically one and the same installer could change default behaviour, a bit like an IP phone, if you will.

First of, an ISO that has been prepared for auto-installer can be used "manually" too, nothing prevents you from just choosing the graphical or terminal install option.

Oh, I did not realise this. :oops: But then again it's not exactly the same (does not fallback to manual when no answer file), but that's ok.

Or - to say another way - if you have the need for the unattended installer to deploy to lot of server, you probably only use that one way anyway.

That is true, but it's nice to have PXE boot setup (as fallback) and simply have it reinstall (only when answer file served) or ready to be reinstalled manually just when OOB getting to it.

But you might not want this automatically, e.g. you already use DHCP option 250 for something else in your internal network or whatever.

Fair enough, but the combination of all these (i.e. if using DHCP 250 for something else, usually would be only serving it to the applicable network segment, especially that it's private use) is on the user.

In the end, this would mean making assumptions about the target network that you simply cannot reasonably make.

It's alright, I will have it then auto-created in a chain for that PXE anyhow, just I thought it would have been nice to ship it all in one.


Thanks a lot! I was mostly asking for the reason that currently it does not take multiple --fetch-from options. Naturally, I would want it to try to look everywhere possible for the answer file and simply keep one ISO knowing I can throw anything at it.
 
Last edited:

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!