[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Deprecate interactive kickstart mode.



---
 pykickstart/commands/interactive.py |    4 ++++
 pykickstart/handlers/control.py     |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pykickstart/commands/interactive.py b/pykickstart/commands/interactive.py
index 366e4a5..fa3dc02 100644
--- a/pykickstart/commands/interactive.py
+++ b/pykickstart/commands/interactive.py
@@ -52,3 +52,7 @@ class FC3_Interactive(KickstartCommand):
 
         self.interactive = True
         return self
+
+class F14_Interactive(DeprecatedCommand):
+    def __init__(self):
+        DeprecatedCommand.__init__(self)
diff --git a/pykickstart/handlers/control.py b/pykickstart/handlers/control.py
index 0af537b..c288eea 100644
--- a/pykickstart/handlers/control.py
+++ b/pykickstart/handlers/control.py
@@ -673,7 +673,7 @@ commandMap = {
         "harddrive": method.F14_Method,
         "ignoredisk": ignoredisk.F14_IgnoreDisk,
         "install": upgrade.F11_Upgrade,
-        "interactive": interactive.FC3_Interactive,
+        "interactive": interactive.F14_Interactive,
         "iscsi": iscsi.F10_Iscsi,
         "iscsiname": iscsiname.FC6_IscsiName,
         "key": key.F7_Key,
-- 
1.7.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]