Files
airshipctl/docs/source/cli/airshipctl_config_set-management-config.md
Sirisha Gopigiri 21f015b502 Updating cmd files for documentation
This PS updates cmd related to root, completion, document and
version subcommands. It also updates minor details in other
subcommands.

The description and examples are updated for the airshipctl
commands, which will be inturn used for generating documentation.
Please ignore the .md file changes in this PS. They are added for zuul
gates to pass. Here is the PS with generated documention
files https://review.opendev.org/c/airship/airshipctl/+/789250

Relates-To: #280
Change-Id: I562c15c0d25b2e9731c0eb03854d1d348eb435f2
2021-06-09 09:56:21 +00:00

1.8 KiB

airshipctl config set-management-config

Airshipctl command to create/modify out-of-band management configuration in airshipctl config file

Synopsis

Creates or modifies management config information based on the MGMT_CONFIG_NAME passed. The allowed set of optional flags are management-type, system-action-retries and system-reboot-delay. Use --use-proxy and --insecure to enable proxy and insecure options respectively.

airshipctl config set-management-config MGMT_CONFIG_NAME [flags]

Examples


Create management configuration
# airshipctl config set-management-config default

Create or update management configuration named "default" with retry and to enable insecure options
# airshipctl config set-management-config default --insecure --system-action-retries 40

Enable proxy for "test" management configuration
# airshipctl config set-management-config test --use-proxy

Options

  -h, --help                        help for set-management-config
      --insecure                    ignore SSL certificate verification on out-of-band management requests
      --management-type string      set the out-of-band management type (default "redfish")
      --system-action-retries int   set the number of attempts to poll a host for a status (default 30)
      --system-reboot-delay int     set the number of seconds to wait between power actions (e.g. shutdown, startup) (default 30)
      --use-proxy                   use the proxy configuration specified in the local environment (default true)

Options inherited from parent commands

      --airshipconf string   path to the airshipctl configuration file. Defaults to "$HOME/.airship/config"
      --debug                enable verbose output

SEE ALSO