Bug 231189

Summary: pykickstart-0.98-1 uses incorrect UTC timezone specification for RHEL4 versioned kickstarts
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: pykickstartAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-07 10:07:34 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description James Laska 2007-03-06 13:34:29 EST
# RPM pykickstart-0.98-1.fc7

According to "commands/timezone.py" the FC3 timezone kickstart commands takes
the following argument: --isUtc.  However, I believe that format for the
timezone command is not valid until FC-5.  

However, according anaconda- (FC3) ... --utc is the only
acceptable format.

    def doTimezone(self, id, args):
    (args, extra) = isys.getopt(args, '',
        [ 'utc' ])

    isUtc = 0

    for n in args:
        (str, arg) = n
        if str == '--utc':
        isUtc = 1

It appears that the --isUtc format wasn't accepted until FC5

    def doTimezone(self, id, args):
        KickstartHandlers.doTimezone(self, args)
        dict = self.ksdata.timezone

    id.instClass.setTimezoneInfo(id, dict["timezone"], dict["isUtc"])