Disable selinux on tumblweed (#596)

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
Mauro Morales
2023-12-28 13:44:58 +01:00
committed by GitHub
parent 64c7e91931
commit 9b46a1980e
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
packages: packages:
- name: "kairos-overlay-files" - name: "kairos-overlay-files"
category: "static" category: "static"
version: "1.1.16" version: "1.1.17"

View File

@@ -1,7 +1,7 @@
function setSelinux { function setSelinux {
source (loop0)/etc/os-release source (loop0)/etc/os-release
set baseSelinuxCmd="" set baseSelinuxCmd=""
if regexp "rockylinux|fedora|almalinux|redhat" $KAIROS_ARTIFACT; then if regexp "rockylinux|fedora|almalinux|redhat|tumbleweed" $KAIROS_ARTIFACT; then
set baseSelinuxCmd="selinux=0" set baseSelinuxCmd="selinux=0"
else else
# if not in recovery # if not in recovery