summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-08-07 20:38:46 +0000
committerChris Lumens <clumens@redhat.com>2006-08-07 20:38:46 +0000
commit09a174d2d2b0a662e414c353dc6b3298263e3fb1 (patch)
tree2c760532f0992c05a7a641cc1e0bad62d9ac2e28 /kickstart.py
parentded597d12496516e28f7df187eb4ac721a35bf5a (diff)
downloadanaconda-09a174d2d2b0a662e414c353dc6b3298263e3fb1.tar.gz
anaconda-09a174d2d2b0a662e414c353dc6b3298263e3fb1.tar.xz
anaconda-09a174d2d2b0a662e414c353dc6b3298263e3fb1.zip
Remove passthrough functions and exception handler for kickstart commands which
anaconda does not yet support. This doesn't make sense anymore.
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py47
1 files changed, 1 insertions, 46 deletions
diff --git a/kickstart.py b/kickstart.py
index a63c85a1c..1040a46ac 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -155,18 +155,6 @@ class AnacondaKSHandlers(KickstartHandlers):
self.id.instClass.setClearParts(self.id, dict["type"], drives=dict["drives"],
initAll=dict["initAll"])
- def doDevice(self, args):
- KickstartHandlers.doDevice(self, args)
-
- def doDeviceProbe(self, args):
- KickstartHandlers.doDeviceProbe(self, args)
-
- def doDisplayMode(self, args):
- KickstartHandlers.doDisplayMode(self, args)
-
- def doDriverDisk(self, args):
- KickstartHandlers.doDriverDisk(self, args)
-
def doFirewall(self, args):
KickstartHandlers.doFirewall(self, args)
dict = self.ksdata.firewall
@@ -181,9 +169,6 @@ class AnacondaKSHandlers(KickstartHandlers):
KickstartHandlers.doIgnoreDisk(self, args)
self.id.instClass.setIgnoredDisks(self.id, self.ksdata.ignoredisk)
- def doInteractive(self, args):
- KickstartHandlers.doInteractive(self, args)
-
def doIscsi(self, args):
KickstartHandlers.doIscsi(self, args)
self.skipSteps.append("iscsi")
@@ -219,9 +204,6 @@ class AnacondaKSHandlers(KickstartHandlers):
self.id.instClass.setLanguage(self.id, self.ksdata.lang)
self.skipSteps.append("language")
- def doLangSupport(self, args):
- KickstartHandlers.doLangSupport(self, args)
-
def doLogicalVolume(self, args):
KickstartHandlers.doLogicalVolume(self, args)
lvd = self.ksdata.lvList[-1]
@@ -295,12 +277,6 @@ class AnacondaKSHandlers(KickstartHandlers):
elif self.ksdata.logging["host"] != "":
logger.addSysLogHandler(log, self.ksdata.logging["host"])
- def doMediaCheck(self, args):
- KickstartHandlers.doMediaCheck(self, args)
-
- def doMethod(self, args):
- KickstartHandlers.doMethod(self, args)
-
def doMonitor(self, args):
KickstartHandlers.doMonitor(self, args)
dict = self.ksdata.monitor
@@ -308,9 +284,6 @@ class AnacondaKSHandlers(KickstartHandlers):
self.id.instClass.setMonitor(self.id, dict["hsync"], dict["vsync"],
dict["monitor"])
- def doMouse(self, args):
- KickstartHandlers.doMouse(self, args)
-
def doNetwork(self, args):
KickstartHandlers.doNetwork(self, args)
nd = self.ksdata.network[-1]
@@ -496,9 +469,6 @@ class AnacondaKSHandlers(KickstartHandlers):
KickstartHandlers.doReboot(self, args)
self.skipSteps.append("complete")
- def doRepo(self, args):
- KickstartHandlers.doRepo(self, args)
-
def doRaid(self, args):
KickstartHandlers.doRaid(self, args)
rd = self.ksdata.raidList[-1]
@@ -577,9 +547,6 @@ class AnacondaKSHandlers(KickstartHandlers):
self.KickstartHandlers.doSELinux(self, args)
self.id.instClass.setSELinux(self.id, self.ksdata.selinux)
- def doServices(self, args):
- KickstartHandlers.doServices(self, args)
-
def doSkipX(self, args):
KickstartHandlers.doSkipX(self, args)
self.skipSteps.extend(["checkmonitorok", "setsanex", "videocard",
@@ -599,12 +566,6 @@ class AnacondaKSHandlers(KickstartHandlers):
KickstartHandlers.doUpgrade(self, args)
self.id.setUpgrade(True)
- def doUser(self, args):
- KickstartHandlers.doUser(self, args)
-
- def doVnc(self, args):
- KickstartHandlers.doVnc(self, args)
-
def doVolumeGroup(self, args):
KickstartHandlers.doVolumeGroup(self, args)
vgd = self.ksdata.vgList[-1]
@@ -757,13 +718,7 @@ class AnacondaKSParser(KickstartParser):
if self.handler.handlers[cmd] != None:
self.handler.currentCmd = cmd
self.handler.lineno = lineno
-
- # Don't crash if pykickstart gets rebuilt with a new command
- # before anaconda also supports it.
- try:
- self.handler.handlers[cmd](cmdArgs)
- except TypeError:
- log.warning("anaconda does not yet support the %s kickstart command, ignoring for now" % cmd)
+ self.handler.handlers[cmd](cmdArgs)
# figure out what installclass we should base on. if kickstart wasn't
# an installclass and was instead a data source, this nonsense wouldn't be