SUSE Support

Here When You Need Us

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.