guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64850: [PATCH 0/1] Provide a way to use multiple dhcp clients with s


From: Ludovic Courtès
Subject: bug#64850: [PATCH 0/1] Provide a way to use multiple dhcp clients with static-networking
Date: Sun, 17 Sep 2023 15:06:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi,

Alexey Abramov <levenson@mmer.org> skribis:

> * gnu/services/networking.scm: Allow setting up provision to allow running
> DHCP client and static network configuration simultaneously.
> ---
>  gnu/services/networking.scm | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
> index 5657b141d9..dc75c2f59d 100644
> --- a/gnu/services/networking.scm
> +++ b/gnu/services/networking.scm
> @@ -88,6 +88,7 @@ (define-module (gnu services networking)
>              dhcp-client-configuration
>              dhcp-client-configuration?
>              dhcp-client-configuration-package
> +            dhcp-client-configuration-provision
>              dhcp-client-configuration-interfaces
>              dhcp-client-configuration-shepherd-requirement
>  
> @@ -303,6 +304,8 @@ (define-record-type* <dhcp-client-configuration>
>                  (default isc-dhcp))
>    (shepherd-requirement dhcp-client-configuration-shepherd-requirement
>                          (default '()))
> +  (provision    dhcp-client-configuration-provision
> +                (default '(networking)))

I changed the field name to ‘shepherd-provision’ for consistency and
documented it in ‘doc/guix.texi’.  Committed!

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]