4.11. Configuring the time zone

Red Hat Virtualization stores time zone configurations for virtual machines in /etc/ovirt-engine/conf/00-timezone.properties. This file contains default time zone values such as Etc/GMT=Greenwich Standard Time. It features mappings that are valid for Windows and non-Windows time zones.

Important

Do not edit the actual 00-timezone.properties file. Changes will be overwritten if you upgrade or restore the Manager.

Do not change values that come directly from the operating system or the Manager.

Procedure

  1. Create an override file in /etc/ovirt-engine/conf/. The file name must begin with a value greater than 00, so that the file appears after /etc/ovirt-engine/conf/00-timezone.properties, and ends with the extension, .properties.

    For example, 10-timezone.properties overrides the default file, 00-timezone.properties. The last file in the file list has precedence over earlier files.

  2. Add new time zones to that file. Be sure each key is a valid General time zone from the time zone database and the value is a valid Windows time zone:

    General
    Time zones used for non-Windows operating system types, must follow the standard time zone format for example, Etc/GMT or Asia/Jerusalem.
    Windows
    Time zones specifically supported on Windows for example, GMT Standard Time or Israel Standard Time.
  3. Restart the rhvm service:

    # systemctl restart ovirt-engine