Skip to content

labops wake

Wake a node: a magic packet for a host, qm/pct start for a Proxmox guest.

Examples:

labops wake nas                  # magic packet to the nas's mac
labops wake nas --via cprox      # broadcast it from cprox instead
labops wake nas --wait 120       # ...and wait until it answers on :22
labops wake pihole               # an lxc: pct start on its proxmox node
labops wake --list               # every node that has a mac

Usage:

$ labops wake [OPTIONS] [TARGET]

Arguments:

  • [TARGET]: Host / VM / LXC name or IP.

Options:

  • --via <str>: Send the magic packet from this node instead of from here. Implies --packet.
  • --packet: Send a magic packet even for a VM/LXC, instead of starting it in Proxmox.
  • -b, --broadcast <str>: Broadcast address for the packet. [default: 255.255.255.255]
  • -p, --port <int>: UDP port for the packet. [default: 9]
  • -w, --wait <int>: After waking, poll for this many seconds until the node answers. 0 = don't wait. [default: 0]
  • --wait-port <int>: TCP port polled by --wait. [default: 22]
  • --list: Show every node with a mac, then exit.
  • --help: Show this message and exit.