# metalcloud-cli os-template Manage OS templates for server deployments ## Synopsis 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 ### Options ``` -h, --help help for os-template ``` ### Options inherited from parent commands ``` -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") ``` ### SEE ALSO * [metalcloud-cli](/content/configuration/cli/metalcloud-cli.md) - MetalCloud CLI * [metalcloud-cli os-template create](/content/configuration/cli/metalcloud-cli_os-template_create.md) - Create a new OS template from JSON configuration * [metalcloud-cli os-template create-from-repo](/content/configuration/cli/metalcloud-cli_os-template_create-from-repo.md) - Create a new OS template by cloning from a repository * [metalcloud-cli os-template delete](/content/configuration/cli/metalcloud-cli_os-template_delete.md) - Delete an OS template * [metalcloud-cli os-template example-create](/content/configuration/cli/metalcloud-cli_os-template_example-create.md) - Show example JSON for creating OS templates * [metalcloud-cli os-template get](/content/configuration/cli/metalcloud-cli_os-template_get.md) - Show detailed information about a specific OS template * [metalcloud-cli os-template get-assets](/content/configuration/cli/metalcloud-cli_os-template_get-assets.md) - List all assets associated with an OS template * [metalcloud-cli os-template get-credentials](/content/configuration/cli/metalcloud-cli_os-template_get-credentials.md) - Show default credentials for an OS template * [metalcloud-cli os-template list](/content/configuration/cli/metalcloud-cli_os-template_list.md) - List all available OS templates * [metalcloud-cli os-template list-repo](/content/configuration/cli/metalcloud-cli_os-template_list-repo.md) - List available OS templates from a remote repository * [metalcloud-cli os-template update](/content/configuration/cli/metalcloud-cli_os-template_update.md) - Update an existing OS template #### Auto generated by spf13/cobra on 11-Aug-2025