metalcloud-cli custom-iso update
Update an existing custom ISO with new configuration
Synopsis
Section titled “Synopsis”Update an existing custom ISO image using a JSON configuration file or piped input.
This command allows you to modify properties of an existing custom ISO such as name, description, or other metadata. The configuration should contain only the fields you want to update.
Arguments: custom_iso_id ID of the custom ISO to update (required)
Required flags: —config-source Source of the configuration updates (required) Can be ‘pipe’ to read from stdin or path to a JSON file
Required permissions:
- custom_iso:write
Dependencies:
- Valid JSON configuration with fields to update
- Custom ISO must exist and be accessible
Examples:
Update custom ISO from a JSON file
Section titled “Update custom ISO from a JSON file”metalcloud-cli custom-iso update 12345 —config-source updates.json
Update custom ISO from piped JSON
Section titled “Update custom ISO from piped JSON”echo ’{“name”:“New Name”}’ | metalcloud-cli custom-iso update 12345 —config-source pipe
Update using shorter alias
Section titled “Update using shorter alias”metalcloud-cli iso edit 12345 —config-source config-updates.json
metalcloud-cli custom-iso update custom_iso_id [flags]Options
Section titled “Options” --config-source string Source of the custom ISO configuration updates. Can be 'pipe' or path to a JSON file. -h, --help help for updateOptions 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 custom-iso - Manage custom ISO images for server provisioning