timezone
The timezone Kickstart command is required. It sets the system time zone. Use this command only once.
- Syntax
-
timezone timezone [OPTIONS] - Mandatory options
-
- timezone - the time zone to set for the system.
- Optional options
-
--utc- If present, the system assumes the hardware clock is set to UTC (Greenwich Mean) time.
- Note
- In Red Hat Enterprise Linux 10, time zone names are validated using the
pytz.all_timezoneslist, provided by the pytz package. In previous releases, the names were validated againstpytz.common_timezones, which is a subset of the currently used list. Note that the graphical and text mode interfaces still use the more restrictedpytz.common_timezoneslist; you must use a Kickstart file to use additional time zone definitions.