wake
Powers on a remote host by sending a magic packet to its network interface. Specify MAC and broadcast address to start a machine without KVM access.
Instructions
Send a Wake-on-LAN magic packet to power the host on. POWER (soft).
Gated by the power effect gate + per-invocation approval (typed same-path
denials, #234). mac defaults to the profile's mac; broadcast to
its wol_broadcast. No KVM driver is contacted — WoL is a broadcast sent
from the server's own host onto the target's L2 segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | Target NIC MAC (aa:bb:cc:dd:ee:ff). Defaults to the profile's mac. | |
| count | No | Magic packets to send (a few, spaced, survive loss). | |
| confirm | No | Per-invocation approval when the client cannot prompt a human: set true to approve this exact call under the operator's standing policy. Leave false when the client supports elicitation (a human is asked). Never pre-set it speculatively; a denial returns outcome=not_confirmed. | |
| profile | No | Profile name from ~/.config/kvm-pilot/config.toml selecting which KVM/BMC (and its managed host) this call targets. Omit to use the server's default (KVM_PILOT_PROFILE). | |
| broadcast | No | Broadcast address to send to. Defaults to the profile's wol_broadcast, else 255.255.255.255. |