Skip to content

metalcloud-cli os-template example-create

Show example JSON for creating OS templates

Display example JSON configuration for creating OS templates.

This command outputs a complete example JSON structure showing all available fields and their expected values for creating OS templates. The example includes both template configuration and associated assets.

The output can be used as a starting point for creating custom templates by modifying the values to match your requirements.

Examples:

metalcloud-cli os-template example-create

metalcloud-cli os-template example-create > template.json

metalcloud-cli os-template example-create [flags]
-h, --help help for example-create
-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”