hostedpi reboot

Reboot one or more Raspberry Pi servers

Usage: hostedpi reboot [OPTIONS] [NAMES]...

Arguments

names [str ...]

Names of the Raspberry Pi servers to reboot

If no names are given, all Pis in the account will be rebooted

Options

--filter [str]

Search pattern for filtering server names

--help

Show this message and exit

Usage

Reboot a Pi:

$ hostedpi reboot mypi
┏━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Status    ┃
┡━━━━━━╇━━━━━━━━━━━┩
│ mypi │ Rebooting │
└──────┴───────────┘

Reboot multiple Pis by name:

$ hostedpi reboot mypi mypi2
┏━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Status    ┃
┡━━━━━━╇━━━━━━━━━━━┩
│ mypi │ Rebooting │
│ mypi2│ Rebooting │
└──────┴───────────┘

Reboot multiple Pis with a filter:

$ hostedpi reboot --filter mypi
┏━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Status    ┃
┡━━━━━━╇━━━━━━━━━━━┩
│ mypi │ Rebooting │
│ mypi2│ Rebooting │
│ mypi3│ Rebooting │
│ mypi4│ Rebooting │
└──────┴───────────┘

Note

If no names of Pis are given, all Pis in the account will be rebooted