updated time state
This commit is contained in:
parent
1a38f6afa5
commit
426d5a7caa
@ -1,9 +1,9 @@
|
||||
---
|
||||
include:
|
||||
- .install
|
||||
{%- if not salt['grains.get']('container') %}
|
||||
- .timezone
|
||||
- .config
|
||||
- .service
|
||||
{%- if not salt['grains.get']('container') %}
|
||||
- .timeupdate
|
||||
{%- endif %}
|
||||
|
5
states/time/timefix.sls
Normal file
5
states/time/timefix.sls
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
{%- from "time/map.jinja" import time with context %}
|
||||
time-fix-rtc:
|
||||
cmd.run:
|
||||
- name: timedatectl set-local-rtc 1 --adjust-system-clock
|
Loading…
Reference in New Issue
Block a user