metalcloud-cli os-template get-assets
List all assets associated with an OS template
Synopsis
Section titled “Synopsis”Display all assets associated with a specific OS template.
This command retrieves and displays detailed information about all assets (files, scripts, configuration files, etc.) that are associated with an OS template. These assets are used during the deployment process.
Required arguments: os_template_id The numeric ID of the template
The output includes:
- Asset ID (unique identifier)
- Usage (build_source_image, build_component, etc.)
- Filename and MIME type
- File size
- Creation timestamp
Examples:
List assets for template with ID 123
Section titled “List assets for template with ID 123”metalcloud-cli os-template get-assets 123
List assets using alias
Section titled “List assets using alias”metalcloud-cli templates assets 456
metalcloud-cli os-template get-assets <os_template_id> [flags]Options
Section titled “Options” -h, --help help for get-assetsOptions inherited from parent commands
Section titled “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
Section titled “SEE ALSO”- metalcloud-cli os-template - Manage OS templates for server deployments