Skip to content

metalcloud-cli os-template

Manage OS templates for server deployments

Manage OS templates used for server deployments.

OS templates define the operating system, installation method, device configuration, and associated assets needed to deploy operating systems on servers. Templates can be created from scratch, cloned from repositories, or imported from external sources.

Available commands: list List all available OS templates get Show detailed information about a specific template create Create a new OS template from JSON configuration update Update an existing OS template delete Delete an OS template get-credentials Show default credentials for a template get-assets List all assets associated with a template list-repo List templates available in a remote repository create-from-repo Create a template by cloning from a repository example-create Show example JSON for creating templates

-h, --help help for os-template
-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”