pvenode: Add CLI call interface for wake on LAN

Adds a CLI call interface to pvenode which allows to wake sleeping nodes in a
cluster via a wake on LAN packet.

pvenode wakeonlan <node>

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
Christian Ebner 2019-01-17 15:46:46 +01:00 committed by Thomas Lamprecht
parent b3d8454221
commit 10a3cb09b8

View File

@ -206,6 +206,9 @@ our $cmddef = {
revoke => [ 'PVE::API2::ACME', 'revoke_certificate', [], { node => $nodename }, $upid_exit ],
},
},
wakeonlan => [ 'PVE::API2::Nodes::Nodeinfo', 'wakeonlan', [ 'node' ], { } ],
};
1;