From 3bbe380598a3179c8a2b71cfc5fb686c8e172654 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 25 Jan 2024 20:49:53 -0600 Subject: [PATCH] install-packages: Do not prevent login There's really no reason why *install-packages.service* needs to complete before users can log in. Indeed, being able to log in while it is running may be necessary in order to troubleshoot issues. --- install-packages.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install-packages.service b/install-packages.service index da928e1..597ca88 100644 --- a/install-packages.service +++ b/install-packages.service @@ -4,12 +4,11 @@ Description=Install additional packages After=network-online.target Wants=network-online.target Before=zincati.service -Before=systemd-user-sessions.service ConditionPathExists=/etc/ignition/packages.d ConditionPathExists=!/etc/ignition/packages.installed [Service] -Type=oneshot +Type=idle RemainAfterExit=yes ExecStart=/bin/sh /etc/ignition/install-packages.sh ExecStartPost=/bin/touch /etc/ignition/packages.installed