summaryrefslogtreecommitdiffstats
path: root/instdata.py
Commit message (Collapse)AuthorAgeFilesLines
* Write out the path to the repo, not anaconda-ks.cfg (#467753).Chris Lumens2008-10-301-1/+6
|
* Fix various syntax errors caught by PyCheckerHans de Goede2008-10-291-0/+3
| | | | Fix various syntax errors caught by PyChecker
* Fix traceback in network.bringUp() (#468651)David Cantrell2008-10-261-1/+2
| | | | | | Let network.bringUp() work by calling network.write() with no parameters. bringUp() is used to bring up networking during installation.
* Tell NetworkManager not to touch network interfaces when / is a netfsHans de Goede2008-10-241-1/+1
| | | | | Tell NetworkManager not to touch anaconda configured interfaces when / is on a network based device.
* It helps to specify what the method string should be split on (#464855).Chris Lumens2008-10-011-1/+1
|
* Whitespace cleanups.David Cantrell2008-09-291-34/+34
| | | | Replace tabs with space-only indentation.
* Don't worry about errors looking up protected partitions on upgrades.Chris Lumens2008-09-191-6/+20
| | | | | | | | | | This mostly affects preupgrade, where the repo (and therefore what's passed in as the methodstr) can be a UUID for a logical volume. At this point, lvm is not activated so looking up the device matching the UUID will of course fail. That's not really an error on the upgrade case since we won't be formatting any partitions. On the installation case, this is an error. And keeping it an error here means we continue not allowing HDISO installs from an LV or RAID volume.
* On HDISO installs, mark LABEL= and UUID= partitions as protected.Chris Lumens2008-09-151-0/+8
|
* Add the method string back into anaconda-ks.cfg.Chris Lumens2008-09-101-0/+22
|
* Support xdriver= againJeremy Katz2008-07-171-0/+2
| | | | | | | | | | | For now, we need to be able to support xdriver= as sometimes, drivers are broken and people want vesa instead. This is kind of lame and it'd be nice if we didn't have to carry such hacks. So take the argument and write out a minimal xorg.conf if it's given. This is all hidden away in the anaconda class, although arguably it could belong in instdata instead. But if it's in instdata, more things might actually try to depend or care about it. And we don't want that.
* Don't pass methodstr into the backend and instdata.Chris Lumens2008-06-181-7/+3
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-16/+2
| | | | * po/sk.po: Typo fix.
* Don't pass None as stdout or stderr.Chris Lumens2008-03-281-1/+1
|
* more mouse-related removalsBill Nottingham2008-03-271-6/+0
|
* Have 'preupgrade' key doing an upgradeJeremy Katz2008-03-251-1/+1
| | | | | doupgrade was used to make testing easier, so remove it. But preupgrade defaulting to upgrade is definitely the right thing to do
* Handle /dev being on hard drive devices in the second stageJeremy Katz2008-03-201-0/+2
| | | | | | | Sometimes, we can have a device without the leading /dev (method= or stage2= for compatibility) and doing strrchr breaks on cciss too. So just pass whatever we got to the second stage and deal with it where we can at least use python string handling
* Fix the format of the method=hd: parameter.Chris Lumens2008-03-131-2/+2
|
* Fix creating new users in kickstart.Chris Lumens2008-03-131-2/+0
|
* Use SHA-512 by default for password encryption.David Cantrell2008-02-201-18/+32
| | | | | | | | | | | | | | Encode passwords using SHA-512 by default. Users can override this in a Kickstart file using the 'auth' command. The options below determine the algorithm used: --enablemd5 -or- --passalgo=md5 MD5 --passalgo=sha256 SHA-256 --passalgo=sha512 SHA-512 The previous default was MD5. glibc now supports SHA-256 and SHA-512, so we are using the strongest of those choices by default now.
* Fix methodstr handling for hdiso installs (#431132).Chris Lumens2008-02-061-2/+2
|
* Don't refer to the libuser.conf when creating users (#428891).Chris Lumens2008-01-221-0/+2
|
* Try to fix a problem creating users via kickstart (#428891).Chris Lumens2008-01-211-4/+4
|
* Add the kickstart syntax version to the kickstart file.Chris Lumens2008-01-141-0/+4
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-1/+1
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-7/+14
| | | | | | Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright year ranges and listed authors (if they were in the comment section) under the Red Hat Author(s) section.
* Fixes to the live install methodJeremy Katz2007-12-071-0/+1
|
* Begin removing references to anaconda.method and anaconda.methodstr.Chris Lumens2007-12-051-30/+1
| | | | | | Remove method references from the Anaconda object, along with various support functions that import methods and return instances of methods. This also removes method instances from the backend.
* Move protected partitions into the Partitions object.Chris Lumens2007-11-281-1/+12
|
* Since the exception dialog no longer probes for the floppy in advance,Chris Lumens2007-10-261-2/+1
| | | | there's no reason to keep floppy.py around anymore.
* If doing a kickstart install, write the reboot command into the outputChris Lumens2007-10-031-0/+1
| | | | anaconda-ks.cfg file.
* 2007-09-25 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-09-251-1/+3
| | | | | | | | * textw/upgrade_text.py (UpgradeExamineWindow.__call__): Default to upgrade if we should * instdata.py (InstallData.reset): Allow 'doupgrade' on the command line to default to doing an upgrade
* Write out user and services commands and scripts to anaconda-ks.cfg if doing aChris Lumens2007-09-121-0/+12
| | | | kickstart install.
* If we did a kickstart install, use the %packages section from the ks fileChris Lumens2007-09-041-17/+18
| | | | instead of creating a new one.
* Add a method to write out repo lines to the anaconda-ks.cfg file for allChris Lumens2007-06-261-0/+2
| | | | enabled add-on repositories (#206152).
* Fix another syntax error.Chris Lumens2007-06-181-1/+1
|
* 2007-06-15 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-06-151-1/+1
| | | | | | * anaconda.spec: Bump version * instdata.py (InstallData.writeKS): Fix syntax error (jkeating)
* Lock accounts if asked (#240059).Chris Lumens2007-06-071-5/+12
|
* Use shlex instead of a simple split to preserve quoting in authconfig commandsChris Lumens2007-05-301-3/+4
| | | | (#241657).
* * 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