summaryrefslogtreecommitdiffstats
path: root/installclass.py
Commit message (Collapse)AuthorAgeFilesLines
* import isys (#390141)Jeremy Katz2007-11-191-0/+1
|
* no more partitioning.pyJeremy Katz2007-11-061-1/+0
|
* Pass the bootloader --timeout= parameter from pykickstart along to booty.Chris Lumens2007-10-191-1/+9
|
* Lots of minor pychecker error fixes. Some of these are even real problems.Chris Lumens2007-09-191-1/+1
|
* If we did a kickstart install, use the %packages section from the ks fileChris Lumens2007-09-041-1/+1
| | | | instead of creating a new one.
* Add the --only-use option to specify which disks should be used. This is theChris Lumens2007-07-161-2/+8
| | | | opposite operation from ignoredisk --drives (#198526).
* 2007-06-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-06-041-1/+2
| | | | | | * installclass.py (BaseInstallClass.setSteps): Permanently skip task selection and group selection if our backend doesn't support package selection (#242083)
* * image.py (CdromInstallMethod.__init__): don't nuke the timestampdlehman2007-06-041-2/+7
| | | | | | | | | | | | when getDiscNums fails * installclass.py (BaseInstallClass.getPackagePaths): make the return dict's values always be lists of URIs * yuminstall.py (AnacondaYum.doConfigSetup): make conf.reposdir a list like in yum * scripts/mk-images: make sure the MBD_FSIMAGE dir doesn't pre-exist
* 2007-04-04 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-04-041-1/+1
| | | | | | | | | * livecd.py (LiveCDImageMethod.postAction): Unmount filesystems in the live case before continuing on. * installclass.py (BaseInstallClass.postAction): Call the method postAction * installmethod.py (InstallMethod.postAction): Add a method to be called in post action for unmounting things in the live case
* 2007-03-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-231-3/+12
| | | | | * anaconda (getInstClass): Don't duplicate code (Elliot Peele) * installclass.py (getBaseInstallClass): Likewise.
* That comment is no longer relevant.Chris Lumens2007-03-081-3/+1
|
* 2007-03-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-071-1/+3
| | | | | | | | | | * backend.py (AnacondaBackend.initLog): Don't open the install log twice (Elliot Peele) * installclass.py (availableClasses): Log a warning when there's an error loading an installclass; raise it in debug mode (Elliot Peele) * exception.py: rpm import not used (Elliot Peele)
* Use imputil instead of exec.Chris Lumens2007-02-261-14/+13
|
* * partedUtils.py (openDevices): don't relabel disks that containdlehman2007-02-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | protected partitions (#220331) * autopart.py (doClearPartAction): clear all non-protected partitions from disks that contain a protected partition IFF initAll is set * partedUtils.py (hasProtectedPartitions): new method to check if a drive contains protected partitions * packages.py (writeRegKey): method to write out regkey * dispatch.py: add writeregkey step * installclass.py (BaseInstallClass): add regkey fields and step * instdata.py: include regkey settings in anaconda-ks.cfg * packages.py (regKeyScreen): allow access to regkey screen while moving backwards (#219361) * installclasses/rhel.py: add support for real regkeys (via instnum)
* - make the product description actually get translated sanely (rhel bz #216067)Peter Jones2007-02-061-1/+10
|
* Add the postscripts step (#227470).Chris Lumens2007-02-061-0/+1
|
* Don't try to second guess any provided resolution or depth (like from aChris Lumens2007-02-011-19/+0
| | | | kickstart file).
* Remove some unused code.Chris Lumens2007-01-191-3/+0
|
* 2007-01-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-181-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * syslogd.py (InstSyslog.start): Ensure that we have a syslogd or don't try to start. Otherwise, we end up hanging things * yuminstall.py (YumBackend.__init__): yum installs can do package selection * livecd.py: Add live CD image copy backend and install method. * installclasses/fedora.py: Handle installclass API changes; allow livecd method * installclass.py (BaseInstallClass.setSteps): Take anaconda instead of dispatch as an argument; use so that the backend upgrade allowing + package selection can work (BaseInstallClass.setDefaultPartitioning): Make it easier to default to no-LVM * kickstart.py (Kickstart.setSteps): Tweak for calling change * upgradeclass.py (InstallClass.setSteps): Likewise. * installclasses/rhel.py (InstallClass.setSteps): Likewise. * anaconda: Pass anaconda to instClass.setSteps; don't depend on the existence of /mnt/runtime/... with x_already_set * backend.py (AnacondaBackend.__init__): Let the backend define whether or not upgrades are supported (AnacondaBackend.doPreInstall): postInstall kills the log, start it in the pre (AnacondaBackend.initLog): Ensure the dir we want to use exists (writeConfiguration): Write instdata before backend bits
* 2007-01-18 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-181-0/+24
| | | | | | | | | | | | * installclasses/fedora.py: Implement getMethod/getBackend * installclasses/rhel.py: Likewise. * anaconda (Anaconda.setMethod): Use installclass to determine method (Anaconda.setBackend): And backend * installclass.py (BaseInstallClass.getMethod): Add a method to parse the method str and return an InstallMethod constructor (BaseInstallClass.getBackend): For backend as well
* * anaconda (__main__): Pass reference to anaconda object to InstallData.David Cantrell2006-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fsset.py (readFstab): Take reference to anaconda object rather than a path and intf. Pass anaconda reference to DiskSet(). * fssey.py (__main__): Removed. * installclass.py (BaseInstallClass): Pass anaconda reference to the reset() method for InstallData. * instdata.py (InstallData.reset): Take anaconda object reference as parameter. Pass anaconda to DiskSet(). * instdata.py (InstallData.__init__): Take anaconda object ref as parameter, pass it to reset() method. * kickstart.py (AnacondaKSHandlers): Store anaconda object reference, pass to DiskSet() object creations. * partedUtils.py (DiskSet): Take anaconda object reference, store. Use self.anaconda throughout DiskSet object, remove individual pass-ins of intf and other anaconda object parts. * partedUtils.py (DiskSet.dastFmt): Remove -P dasdfmt(8) arg (#218861). * partedUtils.py (DiskSet.openDevices): Remove intf, initAll, zeroMbr, and clearDevs params since those are in the anaconda object. When a kickstart install is running, the dasd found is in the clearpart list, and the --initlabel option has been used, skip the interactive dialog asking if you want to format the DASD and just do it (#218861). * partitioning.py (partitionObjectsInitialize): Removed arguments since the anaconda object provides those now. * upgrade.py (mountRootPartition): Pass anaconda object ref to DiskSet. Only pass anaconda ref to readFstab(). * upgrade.py (upgradeMountFilesystems): Likewise.
* Don't look for the non-existant list of drivers in rhpxl anymore (#217890).Chris Lumens2006-11-301-17/+7
|
* 2006-09-20 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-201-6/+0
| | | | | | | * installclass.py: Remove old zfcp stuff * textw/zfcp_text.py: Remove. * iw/zfcp_text.py: Remove.
* 2006-09-19 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-09-191-4/+0
| | | | | | | | | | | | | | | | | * partitioning.py (partitionObjectsInitialize): Shutdown/startup zfcp devs here * yuminstall.py (YumBackend.doPreInstall): Remove spurious zfcp.conf copy * zfcp.py: Massive reworking to work better with new UI * ui/zfcp-config.glade: ZFCP config dialog * iw/autopart_type.py: Use zfcp config dialog (#204145) * installclass.py (BaseInstallClass.setSteps): Remove explicit zfcp step * dispatch.py (installSteps): Likewise.
* 2006-08-23 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-231-0/+3
| | | | | | | | | | | | | * iw/task_gui.py: Rework so that we can enable/disable optional repos per install class as well as see what repos have been added * ui/tasksel.glade: Change things up a little bit * installclasses/fedora.py: Tweak description, add Extras as an additional repo * yuminstall.py (AnacondaYum.doConfigSetup): Allow for additional, not enabled by default repos to be set up. * installclass.py (repos): Add not-default repos
* 2006-08-10 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-101-5/+27
| | | | | | | | | * installclass.py (getBaseInstallClass): Add a method for finding the default base install class so that I don't copy and paste the code between kickstart and upgrade cases * kickstart.py (Kickstart): Use getBaseInstallClass * upgradeclass.py (InstallClass): Use proper base install class (#201745)
* 2006-08-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-031-0/+1
| | | | | | | * packages.py (regKeyScreen): Use per-installclass description. * installclass.py: Allow description for reg key to be per-installclass.
* xhwstate -> xserver.hwstate (#200755).Chris Lumens2006-07-311-15/+15
|
* 2006-07-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | * yuminstall.py (AnacondaYum.doConfigSetup): Allow having more than one default repo for the installclass (YumBackend._catchallCategory): Fix catchall category * packages.py (regKeyScreen): Add reg key screen. * installclass.py (BaseInstallClass.getPackagePaths): Add method to handle mapping with a URI to the repo paths we want to have (BaseInstallClass.handleRegKey): Method for handling the reg key and validating it * installclasses/rhel.py: Add Red Hat Enterprise Linux installclass. Have it enable the regkey step * installclasses/rhel_as.py: Remove old RHEL class * installclasses/rhel_desktop.py: Likewise. * installclasses/rhel_es.py: Likewise. * installclasses/rhel_ws.py: Likewise. * gui.py (EntryWindow.__init__): Add intf.entryWindow taking advantage of messageWindow stuff. * text.py (InstallInterface.entryWindow): Likewise. * dispatch.py (installSteps): Add regkey step.
* Nuke more unused code.Chris Lumens2006-07-141-8/+1
|
* * iw/iscsi_gui.py: Remove in favor of more integrated way ofJeremy Katz2006-07-131-5/+0
| | | | | | | | | configuring * textw/iscsi_text.py: Likewise. * dispatch.py (installSteps): Remove iscsi step. * installclass.py: Likewise. * gui.py: Likewise. * text.py: Likewise.
* elvis waits no moreDavid Cantrell2006-05-171-2/+0
| | | | | five new files from me to you threads are here to stay
* Removed references to steps that don't exist anymore.David Cantrell2006-05-171-7/+0
|
* Finish making non-UI steps pass around the anaconda object.Chris Lumens2006-05-041-6/+6
|
* Use libuser for handling the root password instead of a bunch of our ownChris Lumens2006-04-111-4/+0
| | | | stuff.
* Trust what driver the user provided if there's no list available. ThisChris Lumens2006-04-041-8/+15
| | | | happens in text kickstart installs using minstg2.img.
* Miscellaneous little cleanups.Chris Lumens2006-04-041-5/+1
|
* Get ready for a surprise...David Cantrell2006-03-241-3/+4
| | | | not really. It's just iutil.getArch() -> rhpl.getArch() updates.
* Create a dictionary in flags.py for storing /proc/cmdline. Nuke allChris Lumens2006-03-221-4/+2
| | | | references to /proc/cmdline from everywhere else in favor of this dict.
* Complain about unknown packages and groupsPaul Nasrat2006-02-171-2/+2
|
* 2006-02-09 Patrick Mansfield <patmans@us.ibm.com>Jeremy Katz2006-02-091-0/+6
| | | | | | | | | | | | | | | | * anaconda: Add handling of iscsi flag * flags.py: Add iscsi flag * installclass.py: Add iscsi step * dispatch.py: Add iscsi step. * gui.py: Add iscsi step. * text.py: Add iscsi step * instdata.py: Add iscsi object * iscsi.py: Add main iscsi code * iw/iscsi_gui.py: Add graphical iSCSI configuration * ui/iscsi-config.glade: Glade-file for iSCSI config * textw/iscsi_text.py: Add text mode iSCSI configuration * scripts/mk-images (SCSIMODS): Add iscsi modules * scripts/upd-instroot: Add iscsi tools
* 2006-02-03 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-02-031-10/+2
| | | | | | | | | | | | | * iw/task_gui.py: Adjust for dynamic set of tasks * ui/tasksel.glade: Don't list tasks in the glade file, they're now auto-generated. * textw/task_text.py (TaskWindow.__call__): Likewise. * dispatch.py (installSteps): Pass new arg to tasksel step * installclasses/fedora.py (tasks): Define set of tasks to show on task selection screen here. * installclass.py (tasks): Parent placeholder.
* 2006-01-25 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-01-261-2/+2
| | | | | | | | | | | | | | | * kickstart.py (Kickstart.setSteps): Don't show tasksel if packages are selected. * iw/task_gui.py: Simple task selection UI so we don't just drop people into the complicated group selection screen. * ui/tasksel.glade: Add glade file for task selection UI * textw/task_text.py: Text version * dispatch.py (installSteps): Add tasksel step * installclass.py (BaseInstallClass.setSteps): Likewise. * gui.py (stepToClass): Likewise. * text.py (stepToClasses): Likewise.
* Forgot one parameter.Chris Lumens2005-12-121-1/+1
|
* Remove x configuration from the monitor keyword.Chris Lumens2005-12-121-2/+1
|
* Make install more robust to file read failures.Paul Nasrat2005-12-081-1/+1
| | | | Initial support for upgrades again.
* 2005-12-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-12-071-1/+0
| | | | | * installclass.py (BaseInstallClass.setSteps): "package-selection" -> "group-selection"
* Fix interface between doClearPart and setClearParts.Chris Lumens2005-11-031-1/+1
|
* 2005-10-24 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-10-241-4/+2
| | | | | | | | * dispatch.py (installSteps): Break out reposetup and base package selection into separate steps. * installclass.py (BaseInstallClass.setSteps): Likewise. * yuminstall.py (YumBackend.doRepoSetup): Add backend repo setup. * backend.py (doBasePackageSelect): Implement generically for now
* Use rhpxl instead of rhpl for X configuration.Chris Lumens2005-10-071-3/+3
|