metalcloud-cli template-asset¶
Manage template assets for OS templates
Synopsis¶
Manage template assets associated with OS templates. Template assets are files that are used during the deployment process of operating systems on different device types.
Template assets have different usages depending on the device type:
SERVER device type supports:
build_source_image: Source image for building (requires file.url)
build_component: Component to be copied during build (uses file.path for ISO location)
secondary_image: Secondary image mounted in 2nd virtual media (requires file.url)
NETWORK_DEVICE type supports:
source_image: NOS image for ONIE install process (requires file.url, uses file.path for HTTP URL)
switch_ztp_config: Configuration for ZTP process (uses file.path for HTTP URL)
generic: General purpose asset for ZTP process (uses file.path for HTTP URL)
VM device type supports:
metadata_source_image: VM image metadata (uses file.path to identify metadata)
generic: General purpose asset (uses file.path to identify role)
Available commands: list, get, config-example, create, update, delete
Options¶
-h, --help help for template-asset
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 - MetalCloud CLI
metalcloud-cli template-asset config-example - Display template asset configuration example
metalcloud-cli template-asset create - Create a new template asset from configuration
metalcloud-cli template-asset delete - Delete a template asset
metalcloud-cli template-asset get - Get detailed information about a specific template asset
metalcloud-cli template-asset list - List template assets with optional filtering
metalcloud-cli template-asset update - Update an existing template asset with new configuration