base_role/templates/hwclock.j2

23 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-01-06 01:38:28 +00:00
# {{ ansible_managed }}
# Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as
# Greenwich Mean Time). If that clock is set to the local time, then
# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
clock="{{ 'local' if hwclock_local != '' else 'UTC' }}"
# If you want the hwclock script to set the system time (software clock)
# to match the current hardware clock during bootup, leave this
# commented out.
# However, you can set this to "NO" if you are running a modern kernel
# with CONFIG_RTC_HCTOSYS set to y and your hardware clock set to UTC.
clock_hctosys="{{ 'YES' if hwclock_hctosys != '' else 'NO' }}"
# If you do not want to set the hardware clock to the current system
# time (software clock) during shutdown, set this to no.
clock_systohc="{{ 'YES' if hwclock_systohc != '' else 'NO' }}"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here. Alpha users may wish to use --arc or --srm here.
clock_args=""