Fix os-release requirements

This commit is contained in:
LinuxSquare 2023-10-20 15:24:51 +02:00
parent 5dfb28dfd8
commit a680351797
2 changed files with 2 additions and 4 deletions

View file

@ -28,10 +28,10 @@ system_bootloader_mkinitfs_conf:
- system_base_pkgs - system_base_pkgs
- system_bootloader_pkgs - system_bootloader_pkgs
system_base_os-release: system_bootloader_os-release:
file.managed: file.managed:
- name: /etc/os-release - name: /etc/os-release
- source: salt://{{ tpldir }}/files/base_os-release.jinja - source: salt://{{ tpldir }}/files/bootloader_os-release.jinja
- template: jinja - template: jinja
- context: - context:
OS_VERSION: {{ salt['cmd.shell']('date "+%Y%m"') }} OS_VERSION: {{ salt['cmd.shell']('date "+%Y%m"') }}

View file

@ -1,5 +1,4 @@
include: include:
- .base
- .bootloader - .bootloader
system_candy_motd: system_candy_motd:
@ -15,5 +14,4 @@ system_candy_motd:
- group: root - group: root
- mode: '0644' - mode: '0644'
- require: - require:
- system_base_os-release
- system_bootloader_os-release - system_bootloader_os-release