From 88908c6edce845b8737a18dda415f162d699384a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 14 Dec 2022 20:43:38 +0100 Subject: services: ganeti: Add support for cluster hooks. * gnu/services/ganeti.scm (): Add HOOKS. (hooks->directory): Rename to ... (debootstrap-hooks->directory): ... this, for clarity. (debootstrap-configuration-compiler): Adjust accordingly. (ganeti-directory): Add HOOKS when set. (ganeti-etc-service): Pass HOOKS. * doc/guix.texi (Virtualization Services): Mention it. --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/guix.texi') diff --git a/doc/guix.texi b/doc/guix.texi index 5cb5ae1dfe..eb37d4d393 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -34249,6 +34249,10 @@ To override a setting, you must use the configuration type for that service: @item @code{file-storage-paths} (default: @code{'()}) List of allowed directories for file storage backend. +@item @code{hooks} (default: @code{#f}) +When set, this should be a file-like object containing a directory with +@url{https://docs.ganeti.org/docs/ganeti/3.0/html/hooks.html,cluster execution hooks}. + @item @code{os} (default: @code{%default-ganeti-os}) List of @code{} records. @end table -- cgit 1.4.1