From 2278da73cb467025a4722dc2821a474fb5af3eef Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 14 Jul 2010 13:33:06 -0400 Subject: [PATCH] Deprecate interactive kickstart mode. --- pykickstart/commands/interactive.py | 4 ++++ pykickstart/handlers/control.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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, -- 2.11.4.GIT