[anaconda][rhel7-branch][PATCH] Don't try to concatenate a list with a string

Martin Kolman mkolman at redhat.com
Tue Sep 8 12:36:38 UTC 2015


Related: rhbz#1252444
Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 pyanaconda/kickstart.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index b9d47d8..e3f956a 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -708,9 +708,9 @@ class Firstboot(commands.firstboot.FC3_Firstboot):
         if self.firstboot == FIRSTBOOT_SKIP:
             action = "disable"
 
+        # enable/disable all installed Initial Setup services
         for service in services:
-            # enable/disable all installed Initial Setup services
-            iutil.execInSysroot("systemctl", [action] + service)
+            iutil.execInSysroot("systemctl", [action, service])
 
 class Group(commands.group.F12_Group):
     def execute(self, storage, ksdata, instClass, users):
-- 
2.4.3



More information about the anaconda-patches mailing list