From 76a568e8b68e28b5576dd62ce2e8fd765a66dd4d Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 1 Jun 2022 11:11:14 +0200 Subject: [PATCH] node run wol --- hooks/wake_on_lan.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hooks/wake_on_lan.py b/hooks/wake_on_lan.py index 173d35c..cdcfd2a 100644 --- a/hooks/wake_on_lan.py +++ b/hooks/wake_on_lan.py @@ -1,2 +1,5 @@ -def node_apply_start(repo, node, interactive=False, **kwargs): +def node_apply_start(repo, node, **kwargs): + repo.libs.wol.wake(node) + +def node_run_start(repo, node, cmd, **kwargs): repo.libs.wol.wake(node)