bkr system-power: Control power for a Beaker system¶
Description¶
Controls power for a Beaker system using its remote power management interface (if one is available).
Options¶
- --action <action>¶
Perform the given power action. Valid actions are on, off, interrupt, reboot and none. Use none if no action needed. The default is reboot.
- --clear-netboot¶
Clear any existing netboot configuration before performing this action. This will ensure the system falls back to booting from its local hard disk.
- --force¶
Normally this command will refuse to run if another user is using the system. Pass this option to perform the power action anyway.
Common bkr options are described in the Options section of bkr(1).
Exit status¶
Non-zero on error, otherwise zero.
Examples¶
Power off a particular system:
bkr system-power --action off system2.example.invalid
Clear netboot on a particular system:
bkr system-power --action none --clear-netboot
See also¶
bkr-system-provision(1), bkr(1)