On 08/13/2012 06:05 PM, Dan Kenigsberg wrote:
On Mon, Aug 13, 2012 at 10:49:08AM -0400, Dan Yasny wrote:
----- Original Message -----
From: "Itzik Brown" ItzikB@mellanox.com To: vdsm-devel@lists.fedorahosted.org Sent: Monday, 13 August, 2012 5:42:24 PM Subject: [vdsm] Adding a hook for VDSM
Hi,
I want to add a hook for VDSM.
Where should I add the hook's name so the directory for the hook will be created during installation?
All the directories are created during installation (/usr/libexec/vdsm/hooks/...)
Put your hook script in the right directory on the hosts
Itzik, in case you were asking about how to add a new hook to the source tree, a recently added hook http://gerrit.ovirt.org/6969 may serve as an example to you.
just to make sure this is clear - hooks are not deployed by default - each comes in its own rpm to be optionally deployed by user (and probably only on regular hosts, not ovirt-node ones).