hmc_vios_update
Submit a VIOS software update or upgrade job by providing the VIOS name or UUID and the software repository, optionally waiting for completion.
Instructions
Submit a VIOS software update or upgrade job.
vios_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_vios). kind='update' installs fixes (PTF level); kind='upgrade' performs a full VIOS version upgrade. repository describes the image source (same format as hmc_hmc_update). Submits an Update or Upgrade job to VirtualIOServer; poll hmc_get_job for status.
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 | |
| poll_interval | No | ||
| timeout_seconds | No | ||
| vios_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |