distro/rhel84: use New York as default timezone

RHEl 8.4 guest images need to have the default timezone of EST/EDT
unless the user specifies one in their blueprint. New York is a major
location for this timezone.
This commit is contained in:
Jacob Kozol 2021-01-08 16:27:51 +01:00 committed by Ondřej Budai
parent fc6fbec32f
commit 9d0d5967d6
6 changed files with 37 additions and 5 deletions

View file

@ -295,6 +295,8 @@ func (t *imageType) pipeline(c *blueprint.Customizations, options distro.ImageOp
if timezone != nil {
p.AddStage(osbuild.NewTimezoneStage(&osbuild.TimezoneStageOptions{Zone: *timezone}))
} else {
p.AddStage(osbuild.NewTimezoneStage(&osbuild.TimezoneStageOptions{Zone: "America/New_York"}))
}
if len(ntpServers) > 0 {