This commit is contained in:
LinuxSquare 2023-12-21 18:36:08 +01:00
parent 4c163468f9
commit 81b5fffe51

View file

@ -56,9 +56,9 @@ system_bootloader_motd:
- source: salt://{{ tpldir }}/files/bootloader_00_noveria.motd.jinja
- template: jinja
- context:
OS_NAME: {{ salt['cmd.shell']('grep -E ^PRETTY_NAME /etc/os-release | cut -d= -f2') }}
OS_RELEASE_INFO: {{ salt['cmd.shell']('grep -E ^RELEASE_INFO /etc/os-release | cut -d= -f2') }}
OS_ISSUE_URL: {{ salt['cmd.shell']('grep -E ^BUG_REPORT_URL /etc/os-release | cut -d= -f2') }}
OS_NAME: {{ salt['cmd.shell']('echo NoveriaOS $(date "+%Y%m")') }}
OS_RELEASE_INFO: '"Timestamp: {{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN }} | Kernel: {{ KERNEL_VERSION }}"'
OS_ISSUE_URL: 'https://git.noveria.org/NoveriaOS/ISO/issues'
- user: root
- group: root
- mode: '0644'