Using sp-variant

The sp-variant tool examines several files and tries to determine what Linux distribution and what version it is running on. It is mainly useful within the StorPool internal build and QA environment, as well as the first step of installations on end-user systems.

You can run sp-variant using the following options:

  • detect: Identify the current Linux distribution.

  • show current: Show JSON data about the current distribution.

  • show all: Show JSON data about all supported distributions.

  • show NAME: Show JSON data about a specific distribution.

  • command list: Show a list of distribution-specific commands.

  • command run category.item [arg...]: Run a distribution-specific command.

  • repo add: Add the Apt or Yum repository definitions for the StorPool package repository.

For more information, see:

The repository for this project is hosted on GitHub. The Python and Rust packages can be obtained from pypi.org and crates.io. If you need more details, or have suggestions or problem reports, please contact the StorPool support team.