summaryrefslogtreecommitdiffstats
path: root/instdata.py
Commit message (Collapse)AuthorAgeFilesLines
* Nothing uses InstallData anymore, so it can completely be removed.Chris Lumens2010-02-041-54/+0
| | | | | This also changes instClass.setInstallData to instClass.configure, which makes a little more sense in this post-instdata world.
* Last attribute out of InstallData, please turn out the lights.Chris Lumens2010-02-041-3/+1
|
* Move firstboot into the Anaconda object.Chris Lumens2010-02-041-4/+1
|
* Move bootloader into the Anaconda object.Chris Lumens2010-02-041-10/+0
|
* Move escrowCertificates into the Storage object.Chris Lumens2010-02-041-1/+0
|
* Move storage into the Anaconda class.Chris Lumens2010-02-041-2/+0
|
* Move desktop to the Anaconda object.Chris Lumens2010-02-041-5/+0
| | | | This is also the last thing in InstallData.write, so it can go away too.
* Move timezone to the Anaconda object.Chris Lumens2010-02-041-4/+0
|
* Move firewall into Anaconda.Chris Lumens2010-02-041-3/+0
|
* Move users and security to the Anaconda object.Chris Lumens2010-02-041-76/+0
| | | | | This patch also moves rootPassword into Users where it belongs and auth into Security where it belongs.
* Move network to the Anaconda object.Chris Lumens2010-02-041-7/+0
|
* Move keyboard to the Anaconda object.Chris Lumens2010-02-041-7/+0
|
* Move instLanguage to the Anaconda object.Chris Lumens2010-02-041-6/+1
|
* Move the writeKS and write methods from InstallData to Anaconda.Chris Lumens2010-02-041-76/+1
| | | | | For now they're just placeholders, but it gives me a place to add method calls as each objects is removed from instdata.
* Move upgrade-related data to the Anaconda object.Chris Lumens2010-02-041-18/+0
| | | | | | This also removes the hack where upgrade can be True, False, or None in order to test whether we've seen the upgrade screen or not. Instead, it introduces a global value hack. I consider this the slightly cleaner approach.
* Move instProgress to be an attribute on the InstallInterface.Chris Lumens2010-02-041-3/+0
|
* Move instClass to be an attribute on Anaconda.Chris Lumens2010-02-041-1/+0
|
* Use anaconda.ksdata instead of anaconda.isKickstart.Chris Lumens2010-02-041-4/+4
| | | | | | anaconda.ksdata is only non-None if there's a kickstart file, just like anaconda.isKickstart would be. Therefore, we don't need two variables to test for the same condition.
* Move ksdata to be an attribute on Anaconda.Chris Lumens2010-02-041-14/+8
|
* Remove backend and other pointless attributes from InstallData.Chris Lumens2010-02-041-13/+4
| | | | | None of these are used anywhere outside of this class, and inside this class there's other ways to refer to them.
* Move the isHeadless attribute onto the Anaconda class.Chris Lumens2010-02-041-7/+2
| | | | | This requires having loader add --headless to the anaconda arguments automatically on s390, instead of having anaconda figure that out later.
* Set displayMode on the anaconda object, then refer to that everywhere.Chris Lumens2010-02-041-7/+2
| | | | | | We probably shouldn't be referring to attributes on the OptionParser object when we've got a perfectly useful Anaconda object to use. This also allows removing the displayMode attribute from the InstallData.
* pylint error fixes round 2Hans de Goede2010-01-141-2/+2
| | | | | | | | | | | - Remove unnecessary semi colons in various places - textw/upgrade_text.py: add a few missing imports - Fix various missplaced doc strings - Fix several double imports - Fix AnacondaKSScript.run: Module 'os' has no 'exists' member - users.py: Remove double definition of Users.setRootPassword - yuminstall.py: correct typo reop -> repo - yuminstall.py: _run: anaconda -> self.anaconda
* Add an early user interface for filtering storage devices.Chris Lumens2009-12-111-0/+2
| | | | | | | | | | This UI allows the user to select which devices they would like to include in the rest of the installation process, sorted out by their types. All devices not checked will never again be referenced by anaconda, though we may see their udev information in the logs from time to time. This UI supports two different ways of looking at things: the simple UI for regular Fedora users with basic devices, and the complex UI with many tabs and filtering options.
* Remove test mode.Chris Lumens2009-12-031-6/+3
| | | | | | | This is yet another way of running anaconda that gets extremely limited use, no testing, and no consideration during development to making sure it still works. Again, we need to stop pretending and get rid of modes that we don't support.
* Support upgrading when the language isn't in lang-table (#528317).Chris Lumens2009-10-131-1/+1
|
* libcurl supports https in addition to http, so change our tests.Chris Lumens2009-09-301-1/+1
|
* Remove the installation number screen.Chris Lumens2009-09-221-5/+0
| | | | | | | | Whatever form the new entitlement system takes, it is unlikely it will look like what we've currently got. It's probably better to start over fresh than attempt to adapt what we've got into supporting the new system. This will also allow testing of the RHEL6 tree with the right product name without requiring testers to enter a key.
* Add escrow supportMiloslav Trmač2009-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for storing an X.509 certificate used to encrypt the escrow data, and a "create backup passphrase" flag, to storage.formats.LUKS, and support for storing the same options of "autopart" globally to storage.Storage. While parsing kickstart directives, download the X.509 certificates specified in thekickstart file (if any), enabling network access if necessary, then store the data in the above-described storage objects. While autopartitioning, copy the "autopart" escrow options into each created LUKS volume. Finally, as a part of doPostInstall, find all LUKS volumes with escrow configured, create the escrow files and store them in /mnt/sysimage/root. Changes since the previous version: - Drop unused .encryptedDevice assignments - Move writeEscrowPackets inside doPostInstall - Fix bugs introduced while moving code to storage.formats.LUKS Further changes: - Don't pass escrow args to lvmpv format constructor. - Move backup passphrase generation into storage.devicelibs.crypto. - Use newer, clearer except syntax in storage.writeEscrowPackets.
* 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
|