updated time state
This commit is contained in:
parent
1a38f6afa5
commit
426d5a7caa
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- .install
|
- .install
|
||||||
|
{%- if not salt['grains.get']('container') %}
|
||||||
- .timezone
|
- .timezone
|
||||||
- .config
|
- .config
|
||||||
- .service
|
- .service
|
||||||
{%- if not salt['grains.get']('container') %}
|
|
||||||
- .timeupdate
|
- .timeupdate
|
||||||
{%- endif %}
|
{%- 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