tools/hv: Improve the sample hv_get_dhcp_info script
Status from this message: Applied to hyperv-next. Thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tools/hv: Make the sample hv_get_dhcp_info script more usefultools/ | +75 | 0 replies | |
| 2/2 | tools/hv: Make network-scripts DHCP status check more specifictools/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] tools/hv: Improve the sample hv_get_dhcp_info script
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(-)