docs/doc/source/system_configuration/changing-the-timezone-configuration.rst
Drake Finlay 54ec38e256 Adding System Config Guide
Incorporated patchset 8 review comments from Mary C.

Conditionalized vendor-specific terms and converted code-block to
parsed-literal as required
Reformatted bulleted lists to definition lists
Implemented abbreviation substitutions
Deleted duplicate content
Some minor edits for clarity
Merged new abbreviation definitions in strings.txt

Responding to Patch 5 comments.

Change-Id: If6dd7c4cb802036445cb65853d8de7652df351c0
Signed-off-by: Stone <ronald.stone@windriver.com>
2020-12-21 13:28:54 -05:00

2.4 KiB

Change the Timezone Configuration

You can change the timezone defined for at any time after installation.

You can use the CLI to view and change the timezone configuration.

  • To view the existing timezone configuration, use the following command.

    $ system show
    
    +----------------------+--------------------------------------+
    | Property             | Value                                |
    --------------------------------------------------------------+
    | contact              | None                                 |
    | created_at           | 2019-12-09T16:08:34.271346+00:00     |
    | description          | None                                 |
    | https_enabled        | False                                |
    | location             | None                                 |
    | name                 | 468f57ef-34c1-4e00-bba0-fa1b3f134b2b |
    | region_name          | RegionOne                            |
    | sdn_enabled          | False                                |
    | security_feature     | spectre_meltdown_v1                  |
    | service_project_name | services                             |
    | software_version     | 20.06                                |
    | system_mode          | duplex                               |
    | system_type          | Standard                             |
    | timezone             | Canada/Eastern                       |
    | updated_at           | 2019-12-09T16:19:56.987581+00:00     |
    | uuid                 | c0e35924-e139-4dfc-945d-47f9a663d710 |
    | vswitch_type         | none                                 |
    +----------------------+--------------------------------------+
  • To change the timezone, use the following command syntax:

    system modify --timezone=<one\_specific\_timezone>

    For example:

    $ system modify --timezone=Asia/Hong_Kong

    Check that the timezone name you are using is installed in /usr/share/zoneinfo.

    After this command is executed, a several seconds delay is expected before the configuration is applied to the system.