hmc_hmc_update
Submit HMC update or upgrade jobs using NFS, SFTP, disk, or IBM FixCentral repositories. Optionally wait for job completion to ensure the installation finishes.
Instructions
Submit an HMC software update or upgrade job.
kind='update' installs PTFs (patch level); kind='upgrade' performs a full HMC version upgrade. repository is a dict describing the software source: {"type": "nfs", "host": "repo.example.com", "path": "/images/hmc"} {"type": "sftp", "host": "repo.example.com", "path": "/hmc", "user": "admin", "sftp_pw": "..."} {"type": "disk"} # use files already on the HMC disk
Submits an Update or Upgrade job to ManagementConsole; poll hmc_get_job for status. console_uuid is the ManagementConsole UUID (from hmc_console_info).
Set wait=True to block until the job reaches a terminal state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | update | |
| wait | No | ||
| repository | Yes | Software source for an update/upgrade job. Recognised keys: type – repository type: nfs | sftp | disk | ibmfixcentral host – NFS/SFTP server hostname or IP path – NFS export path or SFTP remote path user – SFTP username sftp_pw – SFTP login credential mount_loc – local mount point for NFS insecure – 'true'/'false'; skip SSL/cert checks (IBM FixCentral) ibm_id – IBM FixCentral account ID ibm_token – IBM FixCentral account token | |
| console_uuid | Yes | ||
| poll_interval | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |