metalcloud-cli firmware-policy global-config update¶
Update global firmware configuration settings
Synopsis¶
Update global firmware configuration settings that control system-wide firmware upgrade behavior.
This command allows you to modify the global firmware configuration which acts as a master control for all firmware upgrade operations. You can enable/disable firmware upgrades globally, set time windows for when upgrades can occur, and configure other system-wide constraints.
Required flags: –config-source Source of the global firmware configuration updates Values: ‘pipe’ (read from stdin) or path to JSON file
The configuration JSON can include any of these fields:
activated: (optional) Boolean to enable/disable firmware upgrades globally
upgradeStartTime: (optional) ISO 8601 timestamp for upgrade window start
upgradeEndTime: (optional) ISO 8601 timestamp for upgrade window end
other global firmware settings: (varies based on API specification)
Note: Only provide the fields you want to update. Missing fields will retain their current values.
Examples:
Update global config from JSON file¶
metalcloud-cli firmware-policy global-config update –config-source global-config.json
Enable firmware upgrades globally via stdin¶
echo ‘{“activated”:true}’ | metalcloud-cli fw-policy global update –config-source pipe
Set upgrade time window¶
metalcloud-cli firmware-policy global-config update –config-source time-window.json
metalcloud-cli firmware-policy global-config update [flags]
Options¶
--config-source string Source of the global firmware configuration updates. Can be 'pipe' or path to a JSON file.
-h, --help help for update
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 firmware-policy global-config - Manage global firmware configuration settings