From 81b5fffe51856a60bb6bedbb7c87feb71ec2d242 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Thu, 21 Dec 2023 18:36:08 +0100 Subject: [PATCH] Fix motd --- system/bootloader.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/bootloader.sls b/system/bootloader.sls index 348b21f..a57f127 100644 --- a/system/bootloader.sls +++ b/system/bootloader.sls @@ -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'