ddb43694b9
The power commands support interacting with hosts by providing the host document name as an argument. This change adds support for filtering hosts using a labels flag (-l or --labels). This change also adds a name flag to support filtering host documents by name and removes the argument requirement. Change-Id: I54d487a35fb36f26fe8e9931f57bbda25375e714 Signed-off-by: Drew Walters <andrew.walters@att.com>
11 lines
366 B
Plaintext
11 lines
366 B
Plaintext
Shutdown a baremetal host
|
|
|
|
Usage:
|
|
poweroff [flags]
|
|
|
|
Flags:
|
|
-h, --help help for poweroff
|
|
-l, --labels string Label(s) to filter desired baremetal host documents
|
|
-n, --name string Name to filter desired baremetal host document
|
|
--phase string airshipctl phase that contains the desired baremetal host document(s) (default "bootstrap")
|