Skip to content

CLI utility to interact with the services part of the metal-toolbox ecosystem.

License

Notifications You must be signed in to change notification settings

metal-toolbox/mctl

Repository files navigation

mctl

mctl is a CLI utility to interact with the metal-toolbox ecosystem of services.

Getting started

  1. Install the latest available version using go install github.com/metal-toolbox/mctl@latest. Please note the mctl binary will install in the bin directory of your $GOPATH.
  2. Create a configuration file as .mctl.yml, for sample configuration files checkout samples/mctl.yml.
  3. Export MCTLCONFIG=~/.mctl.yml.

Actions

For the updated list of all commands available, check out the CLI docs

  • Get component information on a server - mctl get component --server-id <>
  • List available firmware - mctl list firmware
  • List firmware sets - mctl list firmware-set
  • Retrieve information about a firmware - mctl get firmware --id <>
  • Install a firmware set on a server - mctl install firmware-set --server <>
  • Import firmware, firmware-set from file - mctl create firmware-set --from-file samples/fw-set.json, where the JSON file contents is the output of mctl list firmware-set

About

CLI utility to interact with the services part of the metal-toolbox ecosystem.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published