docs/doc/source/system_configuration/kubernetes/changing-the-timezone-configuration.rst
Ron Stone f125a8b892 Remove spurious escapes (r8,dsR8)
This change addresses a long-standing issue in rST documentation imported from XML.
That import process added backslash escapes in front of various characters. The three
most common being '(', ')', and '_'.
These instances are removed.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Id43a9337ffcd505ccbdf072d7b29afdb5d2c997e
2023-03-01 11:19:04 +00: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     | nn.nn                                |
    | 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.