summaryrefslogtreecommitdiffstats
path: root/instdata.py
Commit message (Collapse)AuthorAgeFilesLines
* Pass InstalltData to booty __init__ as it needs access to many of its membersHans de Goede2009-08-051-1/+1
| | | | | | | | | Currently we are passing storage and network to booty's __init__, for writing the necessary kernel cmdline parameters for dracut for international consoles / keyboards booty will also need access to keyboard and language, instead of passing these all in seperately just pass InstalltData to booty's __init__. This is a preparation patch for writing out the dracut kernel cmdline commands for i18n support.
* Add a dracutSetupString method to network.pyHans de Goede2009-08-041-1/+1
| | | | | | | | | Add a dracutSetupString method to network.py, this can be used to ask the Network class to get a dracut setup string to setup the interface needed for a connection to a certain host. This patch also adds code to booty to use this to get kernel cmdline dracut setup commands for any NIC's needed to connect to devices needed for /
* Use keyboard bits from system-config-keyboard nowJeremy Katz2009-07-291-1/+1
| | | | | system-config-keyboard has the keyboard bits now, so let's use those rather than the ones from rhpl
* Set GECOS field for new user accounts specific in ks filesDavid Cantrell2009-07-201-1/+2
| | | | Honor the --gecos argument to the user command in kickstart files.
* Allow creating new groups through kickstart.Chris Lumens2009-07-021-0/+6
| | | | | This is executed before users are created, so new users may be added to the new groups immediately.
* Move simpleconfig (back) into anaconda from rhplJeremy Katz2009-07-011-2/+1
|
* Make the storage.writeKS method useful and called from instdata (#493703).Chris Lumens2009-05-121-2/+1
|
* Add support for fingerprint-based logins (#481273).Chris Lumens2009-04-161-1/+1
|
* Move protectedPartition setup into storageInitialize (#491781).Chris Lumens2009-03-241-25/+0
|
* Use booty.getBootloader instead of going through an intermediary.Chris Lumens2009-03-041-2/+2
|
* Handle write and writeKS for the iSCSI and ZFCP modules.Chris Lumens2009-03-041-1/+2
|
* Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-1/+2
| | | | | | | | | | | - Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
* Updates to make existing code use the new storage module.David Lehman2009-02-231-28/+8
|
* 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
|