1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Thomas Goirand <zigo@debian.org>
Date: Tue, 7 Feb 2023 01:10:46 +0800
Subject: Set full path for leases.txt
Forwarded: no
Last-Update: 2022-10-28
---
cmds/coredhcp/config.yml.example | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmds/coredhcp/config.yml.example b/cmds/coredhcp/config.yml.example
index c9cb91e..59d7536 100644
--- a/cmds/coredhcp/config.yml.example
+++ b/cmds/coredhcp/config.yml.example
@@ -77,7 +77,7 @@ server6:
# The file format is one lease per line, "<hw address> <IPv6>"
# When the 'autorefresh' argument is given, the plugin will try to refresh
# the lease mapping during runtime whenever the lease file is updated.
- - file: "leases.txt"
+ - file: "/var/lib/coredhcp/leases.txt"
# dns adds information about available DNS resolvers to the responses
# - dns: <resolver IP> <... resolver IPs>
|