all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH installer 0/5] use hostname from DHCP lease if available
@ 2023-10-20  9:46 Christoph Heiss
  2023-10-20  9:46 ` [pve-devel] [PATCH installer 1/5] net: move hostname/fqdn regexes into common code Christoph Heiss
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Christoph Heiss @ 2023-10-20  9:46 UTC (permalink / raw)
  To: pve-devel

DHCP servers can set option 12 ("host-name") for client leases [0],
telling them about their hostname. It's very much non-invasive and falls
back to the default values as done currently.

This came up while talking to Aaron, which he noticed (esp. during
trainings) that this would be a very useful feature too have.

I have tested this with the "host-name" entry set and unset, as well as
any combinations of that with the domain name being set or unset.

[0] https://datatracker.ietf.org/doc/html/rfc2132#section-3.14

Christoph Heiss (5):
  net: move hostname/fqdn regexes into common code
  run env: retrieve and store hostname from DHCP lease if available
  proxinstall: use hostname from run env if available
  tui: use hostname from run env if available
  tui: add some tests for `NetworkInfo` -> `NetworkOptions` conversion

 Proxmox/Install/RunEnv.pm            |   4 +
 Proxmox/Sys/Net.pm                   |  28 ++++++
 proxinstall                          |  15 +--
 proxmox-tui-installer/src/options.rs | 132 +++++++++++++++++++++++++--
 proxmox-tui-installer/src/setup.rs   |   3 +
 proxmox-tui-installer/src/utils.rs   |   2 +-
 6 files changed, 169 insertions(+), 15 deletions(-)

--
2.42.0





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-24  7:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20  9:46 [pve-devel] [PATCH installer 0/5] use hostname from DHCP lease if available Christoph Heiss
2023-10-20  9:46 ` [pve-devel] [PATCH installer 1/5] net: move hostname/fqdn regexes into common code Christoph Heiss
2023-10-20  9:46 ` [pve-devel] [PATCH installer 2/5] run env: retrieve and store hostname from DHCP lease if available Christoph Heiss
2023-10-20  9:46 ` [pve-devel] [PATCH installer 3/5] proxinstall: use hostname from run env " Christoph Heiss
2023-10-20  9:46 ` [pve-devel] [PATCH installer 4/5] tui: " Christoph Heiss
2023-10-20  9:46 ` [pve-devel] [PATCH installer 5/5] tui: add some tests for `NetworkInfo` -> `NetworkOptions` conversion Christoph Heiss
2023-10-20 15:21 ` [pve-devel] applied-series: [PATCH installer 0/5] use hostname from DHCP lease if available Thomas Lamprecht
2023-10-24  7:45   ` Christoph Heiss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal