From 44f53a817e4efb08b2d40f60ac1b2a3a20d85ffd Mon Sep 17 00:00:00 2001 From: CoreyCook8 <129206271+CoreyCook8@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:33:12 -0500 Subject: [PATCH 1/3] Delete linux_os/guide/system/accounts/accounts-physical/service_debug-shell_disabled/kubernetes directory Remove unnecessary kubernetes file --- .../kubernetes/shared.yml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 linux_os/guide/system/accounts/accounts-physical/service_debug-shell_disabled/kubernetes/shared.yml diff --git a/linux_os/guide/system/accounts/accounts-physical/service_debug-shell_disabled/kubernetes/shared.yml b/linux_os/guide/system/accounts/accounts-physical/service_debug-shell_disabled/kubernetes/shared.yml deleted file mode 100644 index ff493491e58..00000000000 --- a/linux_os/guide/system/accounts/accounts-physical/service_debug-shell_disabled/kubernetes/shared.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_rhv,multi_platform_rhcos -apiVersion: machineconfiguration.openshift.io/v1 -kind: MachineConfig -spec: - config: - ignition: - version: 3.1.0 - systemd: - units: - - enabled: false - name: debug-shell.service From 88656086012104089d1bdfd6e6661128fd6c7b5b Mon Sep 17 00:00:00 2001 From: CoreyCook8 <129206271+CoreyCook8@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:37:09 -0500 Subject: [PATCH 2/3] Delete linux_os/guide/system/permissions/mounting/service_autofs_disabled/kubernetes directory --- .../service_autofs_disabled/kubernetes/shared.yml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 linux_os/guide/system/permissions/mounting/service_autofs_disabled/kubernetes/shared.yml diff --git a/linux_os/guide/system/permissions/mounting/service_autofs_disabled/kubernetes/shared.yml b/linux_os/guide/system/permissions/mounting/service_autofs_disabled/kubernetes/shared.yml deleted file mode 100644 index 41352695f4b..00000000000 --- a/linux_os/guide/system/permissions/mounting/service_autofs_disabled/kubernetes/shared.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_rhv,multi_platform_rhcos -apiVersion: machineconfiguration.openshift.io/v1 -kind: MachineConfig -spec: - config: - ignition: - version: 3.1.0 - systemd: - units: - - enabled: false - name: autofs.service From 2ebd3794b2e0b6864da30fa19f53b6a9b2e677bf Mon Sep 17 00:00:00 2001 From: CoreyCook8 <129206271+CoreyCook8@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:40:19 -0500 Subject: [PATCH 3/3] Update 01-general.jinja --- shared/macros/01-general.jinja | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/shared/macros/01-general.jinja b/shared/macros/01-general.jinja index 555277ff304..5b80e6a9403 100644 --- a/shared/macros/01-general.jinja +++ b/shared/macros/01-general.jinja @@ -450,8 +450,12 @@ JINJA MACRO ERROR - Unknown init system '{{{ init_system }}}'. version: 3.1.0 systemd: units: - - enabled: false - name: {{{ service }}}.service + - name: {{{ service }}}.service + enabled: false + mask: true + - name: {{{ service }}}.socket + enabled: false + mask: true

This will disable the {{{ service }}} service in all the