fix motd
This commit is contained in:
parent
459130293c
commit
2096e36845
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ system_base_motd:
|
|||
- source: salt://{{ tpldir }}/files/base_motd.jinja
|
||||
- template: jinja
|
||||
- context:
|
||||
OS_NAME: {{ salt['cmd.shell']('grep -E ^NAME /etc/os-release | cut -d= -f2 | sed \'s~"~~g\'') }}
|
||||
OS_VERSION: {{ salt['cmd.shell']('grep -E ^VERSION_ID /etc/os-release | cut -d= -f2 | sed \'s~"~~g\'') }}
|
||||
OS_NAME: {{ salt['cmd.shell']('grep -E ^NAME /etc/os-release | cut -d= -f2') }}
|
||||
OS_VERSION: {{ salt['cmd.shell']('grep -E ^VERSION_ID /etc/os-release | cut -d= -f2') }}
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: '0644'
|
Loading…
Reference in a new issue