summaryrefslogtreecommitdiffstats
path: root/instdata.py
Commit message (Collapse)AuthorAgeFilesLines
* * partedUtils.py (openDevices): don't relabel disks that containdlehman2007-02-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | 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)
* Set the default timezone based on the current language, whether we can displayChris Lumens2007-02-211-0/+1
| | | | it or not (#227625).
* Fix writing out --startxonboot and the initial setting of firstboot in caseChris Lumens2007-01-261-1/+1
| | | | no firstboot command line is found.
* 2007-01-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-171-1/+2
| | | | | | | | | | | | | | | | | | * iw/progress_gui.py (InstallProgressWindow.completePackage): Quick and dirty way of handling-non rpm installs. This needs to be reworked more completely * timezone.py (Timezone.__init__): Add a default in case the step is skipped * instdata.py (InstallData.write): Ensure that network is written out rather than counting on our backend to do so in its preinstall * fsset.py (FileSystemType.isKernelFS): Add a method to determine if we're an in-kernel pseudo-filesystem (PsudoFileSystem.isKernelFS): And implement it (FileSystemSet.umountFilesystems): Allow unmounting filesystems without turning off swap.
* More stuff we don't need.Chris Lumens2007-01-171-9/+0
|
* Oh crap, support for new pykickstart is here. This is too large to explainChris Lumens2007-01-161-5/+4
| | | | | in a CVS commit message so just read the ChangeLog or look at the diff. Most of it is just code reorganization and it's mostly contained in kickstart.py.
* * anaconda (__main__): Pass reference to anaconda object to InstallData.David Cantrell2006-12-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* We don't usually want to write out the xconfig and monitor lines into theChris Lumens2006-11-131-1/+1
| | | | | kickstart file, unless that info was already given during a kickstart install (#211977).
* Turn off firstboot on s390 (#207926).Chris Lumens2006-09-251-1/+7
|
* 2006-07-28 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-281-1/+1
| | | | | | * users.py (Users.createUser): Create users under the rootpath (Clark Williams) * instdata.py (InstallData.write): Use the rootpath
* Fix writing out the X config file during post instllation.Chris Lumens2006-07-281-1/+1
|
* 2006-07-27 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-281-2/+2
| | | | | * instdata.py (InstallData.write): Use anaconda.rootPath instead of hard-coding /mnt/sysimage
* Fix "unknown error" on shadow file (#196705).Chris Lumens2006-07-121-2/+2
|
* Use subprocess instead of our own code. Fix all calls to execWith* soChris Lumens2006-07-121-3/+3
| | | | | the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
* 2006-05-17 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-05-171-1/+1
| | | | | * security.py (Security.write): Safe for all !test mode * instdata.py (InstallData.write): Likewise.
* Move account creation to where the root password is set, since it's theChris Lumens2006-05-051-8/+29
| | | | | same sort of stuff anyway. Don't run libuser.admin until after /etc/shadow has been created in the install root so root's password gets set.
* - fix missing newline on "rootpw" linePeter Jones2006-05-051-2/+2
|
* Correct root password traceback.Chris Lumens2006-05-031-1/+1
|
* Add support for making users and for enabling/disabling services viaChris Lumens2006-05-031-27/+11
| | | | kickstart.
* 2006-05-01 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-05-011-1/+1
| | | | | | * instdata.py (InstallData.write): It's safe to run authconfig with --nostart in rootpath mode. * firewall.py (Firewall.write): Likewise for lokkit.
* We probably don't want to log the root password.Chris Lumens2006-04-111-2/+0
|
* Move import to the top.Chris Lumens2006-04-111-1/+1
|
* Use libuser for handling the root password instead of a bunch of our ownChris Lumens2006-04-111-4/+38
| | | | stuff.
* Remove the unused Accounts class.Chris Lumens2006-03-301-4/+0
|
* Create a dictionary in flags.py for storing /proc/cmdline. Nuke allChris Lumens2006-03-221-8/+3
| | | | references to /proc/cmdline from everywhere else in favor of this dict.
* 2006-03-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-03-131-1/+0
| | | | | | | | | | | | | | | | | | * packages.py: Remove some obsolete code, convert a little bit of copyExtraModules (... which needs to be hooked back up) * gui.py: No longer import rpm * yuminstall.py: Add specspo bits here instead * exception.py (dumpException): Remove grpset code. * instdata.py (InstallData.reset): Likewise. 2006-03-13 Matt Wilson <msw@rpath.com> * dispatch.py: Remove obsolete code. * floppy.py: Likewise. * language.py: Likewise. * upgrade.py: Likewise.
* * anaconda: Pass the display mode we're running in to InstallData.David Cantrell2006-02-211-2/+7
| | | | | | | * instdata.py: Store the the display mode the installer is using. * language.py: For languages we can't display during installation in text mode, default to en_US.UTF-8, but write out the correct language for the final installation (#180417).
* 2006-02-12 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-02-121-3/+2
| | | | | * instdata.py (InstallData.writeKS): Don't traceback if nfs:/// is being used like file:///. Useful for live CD case.
* 2006-02-09 Patrick Mansfield <patmans@us.ibm.com>Jeremy Katz2006-02-091-0/+2
| | | | | | | | | | | | | | | | * 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-01-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-01-301-1/+0
| | | | | | | | * hdrlist.py: Remove dead file. * packages.py: Remove reference to hdrlist.py at least.. * instdata.py: Remove hdrlist import * test/testHdrlist.py: Remove.
* Better change for that change I made.David Cantrell2006-01-261-4/+3
|
* * instdata.py (InstallData): Set backend to None by default, onlyDavid Cantrell2006-01-261-2/+4
| | | | read it if caller gives us a backend (makes rescue mode work).
* Write out %packages section in the template kickstart file.Chris Lumens2006-01-201-2/+3
|
* Fix 178095.David Cantrell2006-01-191-4/+10
|
* Don't traceback on printing out an authconfig-related error message (#178041).Chris Lumens2006-01-171-7/+6
|
* It helps to have the right path to authconfig. Also, the right argumentChris Lumens2005-11-071-5/+8
| | | | list.
* Don't write empty authconfig line (#171558).Chris Lumens2005-10-241-1/+2
|
* 2005-09-13 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-09-131-1/+1
| | | | * instdata.py (InstallData.write): authconfig's flags changed. *sigh*
* Remove hdrlist based %packagesPaul Nasrat2005-09-061-61/+2
|
* Simplified the authconfig step to store data as a string to be passed toChris Lumens2005-08-291-7/+30
| | | | | | authconfig in its entirety, rather than handling it as a series of arguments we need to process. We weren't really doing anything with it anyway.
* bye, bye compspkgPaul Nasrat2005-08-241-3/+0
|
* Temporarily disable %package ks write outPaul Nasrat2005-08-241-1/+1
|
* 2005-08-15 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-08-151-8/+1
| | | | | | | * kickstart.py (Kickstart.readKickstart): Remove obsolete and dead --ignoredeps stuff (#165224). * instdata.py (InstallData.writePackagesKS): Likewise. * packages.py (checkDependencies): Likewise.
* Make anaconda-ks.cfg roPaul Nasrat2005-04-211-2/+3
|
* Decode source URL before writing it into the kickstart file (#154149).Chris Lumens2005-04-131-1/+2
|
* Rename InstallTimeLanguage to Language, fix /etc/sysconfig/i18n on manualChris Lumens2005-03-311-1/+1
| | | | installs, and fix default time zones.
* 2005-03-29 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-03-291-4/+1
| | | | | | | | | | | | | | | | | | * anaconda: Remove essentially unused config file data code, product.img basically supplanted this. * Makefile: Likewise. * cmdline.py: Likewise. * gui.py: Likewise. * text.py: Likewise. * dispatch.py: Likewise. * instdata.py: Likewise. * splashscreen.py: Likewise. * iw/welcome_gui.py: Likewise. * textw/welcome_text.py: Likewise. * anaconda.conf: Remove file. * configFileData.py: Likewise. * readConfigFile.py: Likewise.
* Remove the Boolean class. We have a type for that.Chris Lumens2005-03-281-12/+8
|
* Combined Language and InstallTimeLanguage in language.py into a singleChris Lumens2005-03-231-3/+1
| | | | | | class, updated the lang-table format to remove an unused column, and changed langSupport to instLanguage everywhere to reinforce the class merge idea.
* - zfcp.conf was written way too late. it's required to be there before the ↵Karsten Hopp2004-08-251-1/+0
| | | | kernel is installed and the initrd is created