summaryrefslogtreecommitdiffstats
path: root/kickstart.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix creation of encrypted md members and pvs in kickstart. (#567396)David Lehman2010-02-221-0/+10
|
* Allow --ignoremissing to work for @base and @core (#566752).Chris Lumens2010-02-191-2/+2
|
* logging: introduce stderr logger and use it for critical situations in ↵Ales Kozumplik2010-02-181-11/+11
| | | | kickstart.py.
* logging, fix: setting remote logging from kicstartAles Kozumplik2010-02-181-8/+17
|
* The step is named cleardiskssel, not cleardisksel (#565873).Chris Lumens2010-02-161-1/+1
|
* Don't always set anaconda.upgrade to be True (#565622).Chris Lumens2010-02-151-1/+1
| | | | | | | Since Upgrade.execute gets called on installs too (both the upgrade and install kickstart commands have the same handler) we need to make sure to set it to the right value. Otherwise, all kickstart installs end up being upgrades.
* Move firstboot into the Anaconda object.Chris Lumens2010-02-041-5/+0
|
* Move bootloader into the Anaconda object.Chris Lumens2010-02-041-15/+15
|
* Move escrowCertificates into the Storage object.Chris Lumens2010-02-041-4/+4
|
* Move storage into the Anaconda class.Chris Lumens2010-02-041-23/+23
|
* Move desktop to the Anaconda object.Chris Lumens2010-02-041-4/+4
| | | | 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-2/+2
|
* Move firewall into Anaconda.Chris Lumens2010-02-041-4/+4
|
* Move users and security to the Anaconda object.Chris Lumens2010-02-041-6/+6
| | | | | 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-6/+6
|
* Move keyboard to the Anaconda object.Chris Lumens2010-02-041-3/+3
|
* Move instLanguage to the Anaconda object.Chris Lumens2010-02-041-3/+3
|
* Move upgrade-related data to the Anaconda object.Chris Lumens2010-02-041-2/+2
| | | | | | 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 instClass to be an attribute on Anaconda.Chris Lumens2010-02-041-3/+3
|
* Move ksdata to be an attribute on Anaconda.Chris Lumens2010-02-041-22/+22
|
* Set displayMode on the anaconda object, then refer to that everywhere.Chris Lumens2010-02-041-1/+1
| | | | | | 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.
* Hookup new python EDD code (#478996)Hans de Goede2010-01-281-2/+6
| | | | | | | | Replace all usage of the isys C EDD code with the new storage python EDD code. Note that this moves the sorting of partition.req_disks from devices.py to paritioning.py, because sorting now needs access to the storage object, this also has the added advantange that now we always allocatePartitions in sorted drive order, even in interactive mode.
* Support the new excludedGroupList in pykickstart (#554717).Chris Lumens2010-01-141-1/+3
| | | | | | This provides better support for excluding groups. Now, groups that were not previously listed (because they were covered by a glob, for instance) can also be removed.
* Use passed in anaconda parameter instead of relying on handlerHans de Goede2010-01-141-35/+23
| | | | | | | | | | | | Currently we rely on self.handler being defined in our execute() methods of pykickstart command/data derived classes. But self.handler is is not defined for BaseData derived classes, which we fix by some trickery to define it anyways. This patch replaces the trickery by using the anaconda parameter all the execute() method of pykickstart command/data derived classes have, this allows access to the same object through anaconda.id.ksdata, without requiring the trickery.
* kickstart.py: Fix stdoutLog not being definedHans de Goede2010-01-141-0/+1
|
* pylint error fixes round 2Hans de Goede2010-01-141-2/+1
| | | | | | | | | | | - 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
* Don't wait on the filtertype screen on kickstart installs.Chris Lumens2010-01-081-2/+8
| | | | | | | | Since ignoredisk is an optional command and leaving it out of a kickstart file means you don't want to ignore anything, there's no reason to stop on that screen and wait for input if ignoredisk was not specified. However, if this is an interactive kickstart install we do still need to stop and ask.
* Our overridden AutoPart class must be mentioned in commandMap.Chris Lumens2010-01-081-0/+1
| | | | Otherwise, the autopart command won't actually do anything.
* Remove LoggerClass but maintain loglevel= functionalityAles Kozumplik2010-01-081-2/+2
|
* Put fsprofile support back in.David Lehman2009-12-221-9/+6
|
* 'cleardiskssel' typos that made it impossible to run text install.Ales Kozumplik2009-12-221-2/+2
|
* Make iscsi,etc startup use the iscsi,etc SingletonsHans de Goede2009-12-151-3/+3
| | | | | Make iscsi,etc startup use the iscsi,etc Singletons, instead of the not yet instantiated instData.
* kickstart: Move onlining of fcoe/iscsi/zfcp devices to parse phaseHans de Goede2009-12-151-34/+38
| | | | | | | | | | | | | | Bring fcoe/iscsi/zfcp devices online when parsing the kickstart file (instead of delaying this to the execute phase) so that the disks can be identified by /dev/disk/by-path/foo, etc. in clearpart, ignoredisks, etc. commands. For the iscsi command this also improves error handling by passing username and password to addTarget as is instead of only passing them if both are present, using addTarget's error handling for a username without a password (instead of simply ignoring the username or the password), and also by catching IOErrors which will be thrown when logging in to the target fails.
* Remove call to no longer existing isys DriveDict methodHans de Goede2009-12-151-2/+0
|
* Add an interface to select the fancy filtering UI vs. the regular one.Chris Lumens2009-12-111-1/+1
| | | | | | Most Fedora users don't need to see the advanced filtering UI with all its multipath tabs and advanced storage buttons and search interfaces. So, provide an introductory screen that allows skipping all that stuff.
* Add a step to prompt for the cleardisks UI.Chris Lumens2009-12-111-0/+2
| | | | | | This UI is the screen that allows the user to select which devices will be wiped during installation and which should just be mounted. It also allows selecting which device the bootloader should be installed to.
* 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.
* Bring auto discovered drives online before parsing the ks fileHans de Goede2009-12-111-0/+6
| | | | | | | | | | While doing some tests with iscsi and kickstart I noticed that currently drives discovered through ibft (iscsi), edd (fcoe), or configured in the rclinux script (zfcp), can not be used in kickstart's clearpart or ignoredrive commands. This patches fixes this. Note that the 3 added startup calls are complete no-ops on systems without ibft / edd-fcoe info / pre configured zfcp.
* Kickstart support for unpartitioned disks.David Lehman2009-12-091-1/+21
|
* An unitialized variable in iw/partition_gui.py and a typo in kickstart.pyAles Kozumplik2009-11-261-1/+1
|
* Add DCB option to kickstart FCoE code (#513011)Hans de Goede2009-11-261-4/+5
|
* Enhance drive specification for clearpart, ignoredisk, and partition.Chris Lumens2009-11-201-34/+66
| | | | | | Now you can use globs or non-device node names to specify disks in the arguments to these commands, which should be a big help to large storage configurations.
* If the kickstart log file's path doesn't exist, make it.Chris Lumens2009-11-181-0/+4
|
* Various improvements to kickstart scriptlet reporting (#510636).Chris Lumens2009-11-161-23/+18
| | | | | | - Don't remove scriptlets when they've been written out to aid in debugging. - Always log stdout/stderr. - On errors, print the messages to anaconda.log as well.
* Remove the early kickstart processing pass (#532453).Chris Lumens2009-11-121-71/+21
| | | | | Among other problems, this means that all the partitioning commands can be in a file generated from a %pre script again.
* Move all the important stuff out of the KickstartCommand.parse methods.Chris Lumens2009-11-121-400/+345
| | | | | | | | | | | | | | | | | kickstart.py never should have been written the way it previously was - with all the code that actually did something in the parse methods. This organization prevented the parse methods from being called until we had things like Storage instances and led to the multiple pass hack. This better design moves all the code that does anything into apply methods (that pykickstart lacks, oh well) and keeps the parse methods only setting values in KickstartCommand/KickstartData objects. This should allow doing parsing very early, then calling the apply methods when we're set up and therefore remove the reason for multiple passes. This patch requires a pykickstart which can pass data objects up from deep in dispatcher. Note also that this patch does not yet call any of the apply methods, so kickstart is temporarily busted.
* commandMap and dataMap are now updates to the existing dict.Chris Lumens2009-11-121-32/+11
| | | | | This means we only have to specify those handlers and data objects we require special versions of, not all of them.
* Set a reference to the kickstart handler on BaseData objects.Chris Lumens2009-11-121-0/+13
|
* When creating a new md array check we have enough members (#533027)Hans de Goede2009-11-101-1/+4
| | | | | | | | | Make MDRaidArrayDevice.__init__ raise a value exception when creating a new (so non existing) raid set and there are not enough members for the requested raid level. And catch this value exception in the GUI raid dialog and kickstart raid commands.
* Add handling for sshpw command.Peter Jones2009-11-051-1/+2
| | | | This lets you set passwords to ssh into the anaconda environment.