diff options
| author | Alexey Abramov <levenson@mmer.org> | 2025-05-08 19:47:41 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-16 17:01:11 +0900 |
| commit | 6d5f630fa55923f9c7d9725e47c1eb7a63c29f41 (patch) | |
| tree | d502423d5c02c36a820e5d68988e7b1e5fc77ecc /doc/guix-cookbook.texi | |
| parent | efac01f19b65d7d77a98bbfd57fe2073fb13064a (diff) | |
services: dnsmasq: Add shepherd-provision and shepherd-requirement fields.
* gnu/services/dns.scm (<dnsmasq-configuration>)[provision]: Mark
filed as deprecated with a warning. Set default to #f.
[shepherd-provision]: Add new field for consistency with other services.
[shepherd-requirement]: Add new field.
(dnsmasq-shepherd-service): Use them.
* doc/guix.texi: Document these changes.
* doc/guix-cookbook.texi (Custom NAT-based network for libvirt): Update
example to use 'shepherd-provision' instead of 'provision'.
Change-Id: Icad4d9c4be5bf58368e8c416f1fdde1f9065557d
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'doc/guix-cookbook.texi')
| -rw-r--r-- | doc/guix-cookbook.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index fb58866d404..3ebe661a078 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi | |||
| @@ -4018,8 +4018,8 @@ guests connected to this virtual network switch: | |||
| 4018 | (service dnsmasq-service-type | 4018 | (service dnsmasq-service-type |
| 4019 | (dnsmasq-configuration | 4019 | (dnsmasq-configuration |
| 4020 | ;; You can have multiple instances of `dnsmasq-service-type` as long | 4020 | ;; You can have multiple instances of `dnsmasq-service-type` as long |
| 4021 | ;; as each one has a different provision. | 4021 | ;; as each one has a different shepherd-provision. |
| 4022 | (provision '(dnsmasq-virbr0)) | 4022 | (shepherd-provision '(dnsmasq-virbr0)) |
| 4023 | (extra-options (list | 4023 | (extra-options (list |
| 4024 | ;; Only bind to the virtual bridge. This | 4024 | ;; Only bind to the virtual bridge. This |
| 4025 | ;; avoids conflicts with other running | 4025 | ;; avoids conflicts with other running |
