[pve-devel] Finding VMs by hostname, not id

Andreas Steinel a.steinel at gmail.com
Fri Oct 14 21:28:57 CEST 2016


On Fri, Oct 14, 2016 at 9:15 PM, Michael Rasmussen <mir at datanom.net> wrote:

> On Fri, 14 Oct 2016 19:56:04 +0200 Andreas Steinel <a.steinel at gmail.com>
> wrote:
> > Isn't there a chicken and egg problem now? Where is the name defined if I
> > install via PXE in an automatic fashion?
>
> For Debian based distributions preseed exists. For Redhat based
> distributions kickstart exists. Both are capable of configuring the
> hostname.
>

Of course, but then the DHCP entry with the MAC has to be the first to load
the preseed/kickstart file with the correct name. If you already have DHCP,
then you also have DNS and we are at the beginning of the discussion.



More information about the pve-devel mailing list