bkr system-modify: Modify system attributes¶
Synopsis¶
bkr system-modify [options] <fqdn> ..
Options¶
-
--owner
<username>
¶ Change the system owner to <username>.
-
--condition
<condition>
¶ Change the system condition to <condition>. Valid values are Automated, Manual, Broken, and Removed.
-
--host-hypervisor
<type>
¶ Change the system’s host hypervisor type to <type>.
For systems which are virtualized, this field indicates which virtualization technology is used by the host. An empty value indicates that the system is bare metal (not a virtual guest).
-
--pool-policy
<poolname>
¶ Change the active access policy to that of the system pool <pool>. The system must be in the pool to use its policy. This must be specified only once, and is mutually exclusive with
--use-custom-policy
.
-
--use-custom-policy
¶
Change the active access policy to that of the system’s custom access policy. This must be specified only once, and is mutually exclusive with
--pool-policy
.
-
--location
<location>
¶ Physical location of the system.
-
--power-type
<power-type>
¶ Remote power control type. This value must be a valid power type configured by the Beaker administrator (or one of the Beaker defaults).
-
--power-address
<power-address>
¶ Address passed to the power control script.
-
--power-user
<power-user>
¶ Username passed to the power control script.
-
--power-password
<power-password>
¶ Password passed to the power control script.
-
--power-id
<power-id>
¶ Unique identifier passed to the power control script. The meaning of the power ID depends on which power type is selected. Typically this field identifies a particular plug, socket, port, or virtual guest name.
-
--power-quiescent-period
<seconds>
¶ Quiescent period for power control. Beaker will delay at least this long between consecutive power commands.
-
--release-action
<release-action>
¶ Action to take whenever a reservation for this system is returned:
PowerOff
,LeaveOn
,ReProvision
.
Common bkr options are described in the Options section of bkr(1).
Exit status¶
Non-zero on error, otherwise zero.
Examples¶
Modify the owner of a particular system to jdoe:
bkr system-modify –owner jdoe test.system.fqdn
Change the active access policy of the system to use mypool’s policy:
bkr system-modify –pool-policy mypool test.system.fqdn
See also¶
bkr(1)