From d576319578f0c7177fbd99ea3e6793a069f0966d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 24 Apr 2016 23:40:32 +0200 Subject: [PATCH] anaconda: enable only initial-setup.service variant It should take care of choosing the right one. QubesOS/qubes-issues#1807 --- anaconda/pyanaconda/kickstart.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anaconda/pyanaconda/kickstart.py b/anaconda/pyanaconda/kickstart.py index 405a5af..0e2fcec 100644 --- a/anaconda/pyanaconda/kickstart.py +++ b/anaconda/pyanaconda/kickstart.py @@ -708,8 +708,7 @@ class Firstboot(commands.firstboot.FC3_Firstboot): def execute(self, *args): action = "enable" - services = ["initial-setup-graphical.service", - "initial-setup-text.service"] + services = ["initial-setup.service"] # find if the unit files for the Initial Setup services are installed services = [name for name in services if os.path.exists(os.path.join(iutil.getSysroot(), "lib/systemd/system/", name))]