[anaconda] Export the pykickstart Eula command

Vratislav Podzimek vpodzime at redhat.com
Fri Sep 20 18:11:05 UTC 2013


This is needed by the Initial Setup that pulls pykickstart commands from the
pyanaconda.kickstart module.

Related: rhbz#1000409

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/kickstart.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 05e855d..13160d9 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -625,6 +625,10 @@ class Lang(commands.lang.F19_Lang):
     def execute(self, *args, **kwargs):
         localization.write_language_configuration(self, ROOT_PATH)
 
+class Eula(commands.eula.F20_Eula):
+    # no overrides needed here
+    pass
+
 class LogVol(commands.logvol.F20_LogVol):
     def execute(self, storage, ksdata, instClass):
         for l in self.lvList:
@@ -1458,6 +1462,7 @@ commandMap = {
         "bootloader": Bootloader,
         "clearpart": ClearPart,
         "dmraid": DmRaid,
+        "eula": Eula,
         "fcoe": Fcoe,
         "firewall": Firewall,
         "firstboot": Firstboot,
-- 
1.7.11.7



More information about the anaconda-patches mailing list