Switch NAME to PRETTY_NAME
This commit is contained in:
parent
11c0a1dfe6
commit
45478a247f
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ system_base_motd:
|
||||||
- source: salt://{{ tpldir }}/files/base_motd.jinja
|
- source: salt://{{ tpldir }}/files/base_motd.jinja
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- context:
|
- context:
|
||||||
OS_NAME: {{ salt['cmd.shell']('grep -E ^NAME /etc/os-release | cut -d= -f2') }}
|
OS_NAME: {{ salt['cmd.shell']('grep -E ^PRETTY_NAME /etc/os-release | cut -d= -f2') }}
|
||||||
OS_VERSION: {{ salt['cmd.shell']('grep -E ^VERSION_ID /etc/os-release | cut -d= -f2') }}
|
OS_VERSION: {{ salt['cmd.shell']('grep -E ^VERSION_ID /etc/os-release | cut -d= -f2') }}
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
|
|
Loading…
Reference in a new issue