[PATCH 1/4] Make firstboot kickstart command aware of initial-setup
Martin Sivak
msivak at redhat.com
Thu Mar 14 13:47:33 UTC 2013
---
pyanaconda/kickstart.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index b41d198..5ceaf19 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -495,7 +495,9 @@ class Firstboot(commands.firstboot.FC3_Firstboot):
f = open(ROOT_PATH + "/etc/reconfigSys", "w+")
f.close()
- iutil.execWithRedirect("systemctl", [action, "firstboot-graphical.service"],
+ iutil.execWithRedirect("systemctl", [action, "firstboot-graphical.service",
+ "initial-setup-graphical.service",
+ "initial-setup-text.service"],
root=ROOT_PATH)
class Group(commands.group.F12_Group):
@@ -1410,8 +1412,8 @@ superclass = returnClassForVersion()
class AnacondaKSHandler(superclass):
AddonClassType = AddonData
- def __init__ (self, addon_paths = []):
- superclass.__init__(self, commandUpdates=commandMap, dataUpdates=dataMap)
+ def __init__ (self, addon_paths = [], commandUpdates=commandMap, dataUpdates=dataMap):
+ superclass.__init__(self, commandUpdates=commandUpdates, dataUpdates=dataUpdates)
self.onPart = {}
# collect all kickstart addons for anaconda to addons dictionary
--
1.7.11.7
More information about the anaconda-patches
mailing list