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:
parent
fc6fbec32f
commit
9d0d5967d6
6 changed files with 37 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue