Linux-HyperV List
 help / color / mirror / Atom feed
* [PATCH 0/2] tools/hv: Improve the sample hv_get_dhcp_info script
@ 2025-06-15 23:04 Ben Hutchings
  2025-06-15 23:05 ` [PATCH 1/2] tools/hv: Make the sample hv_get_dhcp_info script more useful Ben Hutchings
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ben Hutchings @ 2025-06-15 23:04 UTC (permalink / raw)
  To: linux-hyperv

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

The sample hv_get_dhcp_info script was originally supposed to be
replaced by downstream distributions, but:

- Network Manager and systemd-networkd are used across many
  distributions
- Debian's ifupdown is not only used in Debian derivatives but also
  Alpine and Void Linux

This adds support for all of those.

The check for DHCP in network-scripts configuration files was
also quite lax.  This makes the regex a bit more strict.

Ben.

Ben Hutchings (2):
  tools/hv: Make the sample hv_get_dhcp_info script more useful
  tools/hv: Make network-scripts DHCP status check more specific

 tools/hv/hv_get_dhcp_info.sh | 87 +++++++++++++++++++++++++++++++-----
 1 file changed, 75 insertions(+), 12 deletions(-)


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2025-07-09 22:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-15 23:04 [PATCH 0/2] tools/hv: Improve the sample hv_get_dhcp_info script Ben Hutchings
2025-06-15 23:05 ` [PATCH 1/2] tools/hv: Make the sample hv_get_dhcp_info script more useful Ben Hutchings
2025-06-15 23:06 ` [PATCH 2/2] tools/hv: Make network-scripts DHCP status check more specific Ben Hutchings
2025-07-09 22:44 ` [PATCH 0/2] tools/hv: Improve the sample hv_get_dhcp_info script Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox