Bug 876582 - [RFE] Allow default timezone to be set at each lab.
Summary: [RFE] Allow default timezone to be set at each lab.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 0.11
Assignee: Dan Callaghan
QA Contact: Qixiang Wan
URL:
Whiteboard: Kickstart
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-14 14:10 UTC by Bill Peck
Modified: 2018-02-06 00:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-17 04:34:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Bill Peck 2012-11-14 14:10:07 UTC
Description of problem:
Currently the timezone is set in the kickstart file like so:

# System timezone
timezone {{ timezone|default('America/New_York') }}

It can be overridden via the system install options or via a job xml, but the default is currently the same for all labs.

If this could be moved to a snippet then we could have a different default value for each lab while still allowing it be overridden if need be.

Version-Release number of selected component (if applicable):
0.9.4

Comment 1 Bill Peck 2012-11-14 14:18:09 UTC
Patch:  http://gerrit.beaker-project.org/#/c/1499/

Comment 2 Bill Peck 2012-11-14 14:19:23 UTC
This is in response to https://bugzilla.redhat.com/show_bug.cgi?id=868859

Comment 5 Qixiang Wan 2012-12-24 10:35:38 UTC
Verified by adding a per-lab snippet:
$ cat /etc/beaker/snippets/per_lab/timezone/$LAB_CONTROLLER_FQDN
timezone {{ timezone|default('Asia/Shanghai') }}

After provision, the snippet take effect successfully on the systems which are related to that lab controller:

$ cat /etc/sysconfig/clock
ZONE="Asia/Shanghai"

Comment 6 Dan Callaghan 2013-01-17 04:34:43 UTC
Beaker 0.11.0 has been released.


Note You need to log in before you can comment on or make changes to this bug.