# # This software may be freely redistributed under the terms of the GNU # library public license. # # You should have received a copy of the GNU Library Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # from installclass import getBaseInstallClass from rhpl.translate import N_, _ import os import iutil import rhpl baseclass = getBaseInstallClass() class InstallClass(baseclass): name = N_("Upgrade Existing System") pixmap = "upgrade.png" sortPriority = 999999 parentClass = (_("Upgrade"), "upgrade.png") def requiredDisplayMode(self): return 't' def setSteps(self, dispatch): dispatch.setStepList( "language", "keyboard", "welcome", "installtype", "regkey",
def handleCommand (self, lineno, args): if not self.handler: return cmd = args[0] cmdArgs = args[1:] if not self.handler.handlers.has_key(cmd): raise KickstartParseError, formatErrorMsg(lineno) else: if self.handler.handlers[cmd] != None: self.handler.currentCmd = cmd self.handler.lineno = lineno self.handler.handlers[cmd](cmdArgs) cobject = getBaseInstallClass() # The anaconda kickstart processor. class Kickstart(cobject): name = "kickstart" def __init__(self, file, serial): self.ksdata = None self.handlers = None self.serial = serial self.file = file cobject.__init__(self, 0) # this adds a partition to the autopartition list replacing anything # else with this mountpoint so that you can use autopart and override /
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # from installclass import getBaseInstallClass from rhpl.translate import N_, _ import os import iutil import rhpl import abiquo_upgrades from abiquo_upgrades.abiquo_upgrade_post_23 import abiquo_upgrade_post import logging log = logging.getLogger("anaconda") baseclass = getBaseInstallClass() class InstallClass(baseclass): name = N_("Upgrade Existing System") pixmap = "upgrade.png" sortPriority = 999999 parentClass = ( _("Upgrade"), "upgrade.png" ) def requiredDisplayMode(self): return 't' def setSteps(self, dispatch): dispatch.setStepList( "language", "keyboard",
if not self.handler: return cmd = args[0] cmdArgs = args[1:] if not self.handler.handlers.has_key(cmd): raise KickstartParseError, formatErrorMsg(lineno) else: if self.handler.handlers[cmd] != None: self.handler.currentCmd = cmd self.handler.lineno = lineno self.handler.handlers[cmd](cmdArgs) cobject = getBaseInstallClass() # The anaconda kickstart processor. class Kickstart(cobject): name = "kickstart" def __init__(self, file, serial): self.ksdata = None self.handlers = None self.serial = serial self.file = file cobject.__init__(self, 0) # this adds a partition to the autopartition list replacing anything