Skip to content

metalcloud-cli os-template list-repo

List available OS templates from a remote repository

List all available OS templates from a remote repository.

This command retrieves and displays templates available in a remote repository, showing their basic information and configuration.

Optional flags: —repo-url URL of the repository to list templates from Defaults to the official MetalSoft template repository —repo-username Username for private repository authentication —repo-password Password for private repository authentication

Flag dependencies:

  • If accessing a private repository, both —repo-username and —repo-password are required together

Examples:

List templates from default public repository

Section titled “List templates from default public repository”

metalcloud-cli os-template list-repo

metalcloud-cli os-template list-repo —repo-url https://example.com/templates

metalcloud-cli os-template list-repo —repo-url https://private.com/templates
—repo-username user —repo-password pass

metalcloud-cli os-template list-repo [flags]
-h, --help help for list-repo
--repo-password string Private repo password.
--repo-url string Private repo to use.
--repo-username string Private repo username.
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”