How to set the time zone in the SUSE Manager 5.0 container
This document (000021781) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Manager 5.0
Situation
Time zone needs to be changed in the SUSE Manager 5.0 container to e.g. 'Europe/Berlin'.
Resolution
To change the timezone in the container, edit /etc/systemd/system/uyuni-server.service.d/custom.conf
on the host system:
For example:
# timedatectl list-timezones | grep Europe/Berlin
Europe/Berlin
# vi /etc/systemd/system/uyuni-server.service.d/custom.conf
[Service]
Environment=TZ="Europe/Berlin"
# systemctl daemon-reload
# systemctl restart uyuni-server.service
The change can be verified with the following command:
# mgrctl term
uyuni-server:/ # date
uyuni-server:/ # timedatectl
Cause
Permanently changing the timezone in the container is available since version 5.0.3 or later.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021781
- Creation Date: 09-Apr-2025
- Modified Date:10-Apr-2025
-
- SUSE Manager
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com