Identify the Software Version and Update Level Using the CLIΒΆ

You can view the current software version and update level from the CLI. The system type is also shown.

About this task

For more about working with software updates, see Manage Software Updates

Procedure

  • To find the software version from the CLI, use the system show command.

    ~(keystone_admin)]$ system show
    +----------------------+----------------------------------------------------+
    | Property             | Value                                              |
    +----------------------+----------------------------------------------------+
    | contact              | None                                               |
    | created_at           | 2020-02-27T15:29:26.140606+00:00                   |
    | description          | yow-cgcs-ironpass-1_4                              |
    | https_enabled        | False                                              |
    | location             | None                                               |
    | name                 | yow-cgcs-ironpass-1-4                              |
    | region_name          | RegionOne                                          |
    | sdn_enabled          | False                                              |
    | security_feature     | spectre_meltdown_v1                                |
    | service_project_name | services                                           |
    | software_version     | nn.nn                                              |
    | system_mode          | duplex                                             |
    | system_type          | Standard                                           |
    | timezone             | UTC                                                |
    | updated_at           | 2020-02-28T16:19:56.987581+00:00                   |
    | uuid                 | 90212c98-7e27-4a14-8981-b8f5b777b26b               |
    | vswitch_type         | none                                               |
    +----------------------+----------------------------------------------------+
    

    Note

    The system_mode field is shown only for a StarlingX Simplex or Duplex system.

  • To list applied software updates from the CLI, use the sw-patch query command.

    ~(keystone_admin)]$ sudo sw-patch query