summaryrefslogtreecommitdiffstats
path: root/installclass.py
Commit message (Collapse)AuthorAgeFilesLines
* Nothing uses InstallData anymore, so it can completely be removed.Chris Lumens2010-02-041-8/+1
| | | | | This also changes instClass.setInstallData to instClass.configure, which makes a little more sense in this post-instdata world.
* Move bootloader into the Anaconda object.Chris Lumens2010-02-041-1/+1
|
* Move instClass to be an attribute on Anaconda.Chris Lumens2010-02-041-1/+0
|
* Install classes may no longer force text mode.Chris Lumens2010-02-041-3/+0
| | | | | | We don't really like promoting text mode anymore. It's basically as close to being deprecated as we can get away with. Therefore, don't provide another way to get to it.
* Add an interface to select the fancy filtering UI vs. the regular one.Chris Lumens2009-12-111-0/+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/+1
| | | | | | 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/+1
| | | | | | | | | | 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.
* Allow InstallInterfaces to modify the installation steps.Chris Lumens2009-12-111-0/+3
| | | | | This will be handy for the filtering interface that does not at all exist in text mode.
* Use installclass to make the bootloader timeout 5 seconds on RHEL.Peter Jones2009-11-231-2/+4
| | | | | | | In RHEL, we want the old bootloader timeout behavior, so people see output on the teletype and have time to frob some switches on the front panel. But for those of us in modern environments, we don't want to do that, so this patch uses installclass to choose which one you get.
* Modify autopart requests to include a separate /home (#150670).Chris Lumens2009-11-041-1/+4
| | | | | | | | | | | | | This modifies the default partitioning as follows: (1) For VGs <= 50 GB, we will continue to make swap and / as normal. (2) For VGs >= 50 GB, / will cap at 50 GB and /home will consume the rest. 50 GB is fairly arbitrary, and was based on the fact that an Everything install of Fedora right now is ~ 40 GB, plus some room for expansion. Very few users are likely to do an Everything install so this should provide plenty of space for upgrades and future growth. Additionally, this is only a default partitioning suggestion and can always be overridden by the user.
* Remove the installation number screen.Chris Lumens2009-09-221-13/+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.
* BugzillaFiler.__init__ now requires a bugUrl, version, and product.Chris Lumens2009-07-291-2/+4
|
* Fix discovery of existing raid/lvm for ks install without clearpart ↵Radek Vykydal2009-06-051-8/+1
| | | | | | | | | | | | | | | | | (#503310) (#503681) Default clearPartType to None so that all devices are discovered during storage initialization step, and UI parttype can be set to its default "Replace existing linux system". Also set clearPartType appropriately when going back from partition dialog so that all devices are discovered during storage reset. There is one case that can't be resolved this way: clearpart --all or --linux is set in ks and "Create custom layout" is selected in parttype UI step. Because of ks setting, storage initialization doesn't discover devices (RAID, LVM) on partitions that are to be cleared and therefore they are not present in custom partition dialog. This can be workarounded by going back and than again to custom partitioning dialog. I think we should grey-out type of partitioning combo set to value from ks clearpart command.
* Use PartSpec in the auto partition request list, and assign weights to them.Chris Lumens2009-03-301-2/+5
| | | | | Also, add a weight method to the Platform classes and have it return an integer for whatever fstype or mountpoint is provided.
* Make sure autopart without any clearpart command will fail.Chris Lumens2009-03-061-0/+2
| | | | | | | The crucial step here is making sure we set clearPartType to NONE in setDefaultPartitioning when called with doClear=False. That's what we pass in from the autopart kickstart command handler, and that's what forces you to have to use clearpart if you want to remove existing partitions.
* Merge branch 'master' into storageDavid Lehman2009-03-041-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
| * reIPL support for s390Mark Hamzy2009-03-021-0/+1
| | | | | | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
| * Remove unnecessary import lines.David Cantrell2009-02-231-1/+0
| | | | | | | | pychecker fix.
* | Specify the filesystem type in the autopart requests.David Lehman2009-02-271-1/+1
| |
* | Fix calls to getAutopartitionBoot, calling the platform's code instead.Chris Lumens2009-02-271-3/+3
| |
* | Use correct attributes of storage for clearpart type and disks.David Lehman2009-02-271-6/+3
| |
* | Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | - 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.
* | Remove format flag from autorequest tuple since it's always True.David Lehman2009-02-231-3/+3
| |
* | Updates to make existing code use the new storage module.David Lehman2009-02-231-9/+8
|/
* Encode our upgrade policy in productMatches/versionMatches and enforce it.Chris Lumens2009-02-161-0/+9
| | | | | | | For Fedora, this means we will not allow upgrades of detected root filesystems more than two releases old, or "upgrading" a newer install with an older one. For RHEL, we don't yet know what to do so just allow things to continue as they always have. Using "upgradeany" still circumvents this check.
* Make ext4 default in UI filesystem selection (bug #481112)Radek Vykydal2009-02-031-1/+1
| | | | | | This patch also makes selecting /boot as mountpoint to automatically select ext3 (in place of ext4) in filesystem combo.
* Default / to be ext4Jeremy Katz2009-01-191-1/+1
|
* Fix syntax error in yuminstall.py, fix pychecker warnings.David Cantrell2008-08-271-1/+0
| | | | | | Add missing ':' to if statement in yuminstall.py Remove 'import os,string' from security.py Remove 'networkdevicecheck' from installclass.py
* Expert mode was disabled in 2004. Remove it now.Chris Lumens2008-08-141-3/+3
|
* Support an abstract bug filing layer.Chris Lumens2008-07-221-0/+3
| | | | | | | | Different products and distributions could support completely different bug filing system (or none at all, for that matter) so support an abstraction that allows us to use multiple kinds of bug files. We still need to commit that abstraction somewhere and also make sure we allow full customization through the product.img.
* Don't continue on using the base installclass if we can't find oneJeremy Katz2008-06-231-2/+1
| | | | | This avoids the problem of our imports failing due to typos and then getting weird behavior non-obviously later
* Don't pass methodstr into the backend and instdata.Chris Lumens2008-06-181-1/+1
|
* Remove support for RHupdates. updates.img is the way to go now.Chris Lumens2008-06-181-2/+0
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-273/+25
| | | | * po/sk.po: Typo fix.
* Preserve 'set the hostname' setting when going Next/Back (#443414)David Cantrell2008-04-251-1/+1
| | | | | | | | | | Better fix for #408921. Using network.overrideDHCPhostname to set the default behavior of requiring users to set a hostname. If the user changed that to 'use DHCP', clicked Next, then clicked Back, the network configuration screen would be back at manual for the hostname. Fixed that by honoring overrideDHCPhostname. Also took the opportunity to make overrideDHCPhostname a boolean since that's how we are using it.
* more mouse-related removalsBill Nottingham2008-03-271-10/+0
|
* Be a little smarter about downloading repo metadata (#437972).Chris Lumens2008-03-241-3/+0
|
* Merge branch 'master' of git+ssh://git.fedoraproject.org/git/hosted/anacondaPeter Jones2008-03-141-0/+4
|\
| * The xconfig command with no X running doesn't make sense.Chris Lumens2008-03-131-0/+4
| |
* | Call getAutoPartitionBoot with our partition list as an arg.Peter Jones2008-03-141-1/+1
|/
* Merge branch 'master' of ssh://git.fedorahosted.org/git/anacondaBill Nottingham2008-02-111-1/+1
|\
| * Fix test mode with python-fedora installedJeremy Katz2008-02-051-1/+1
| | | | | | | | | | We need to prepend the installclass path to the pythonpath like we do the rest of our module paths
* | Use /etc/adjtime as the configuration file for UTC/not-UTC.Bill Nottingham2008-02-111-2/+2
|/ | | | Also, remove ARC support while we're here - it's pointless.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-10/+17
| | | | | | 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.
* getBackend expects a methodstr argument.Chris Lumens2007-12-101-1/+1
|
* Fix up the livecd to no longer use an InstallMethod.Chris Lumens2007-12-051-0/+3
|
* methodstr cleanups.Chris Lumens2007-12-051-1/+1
| | | | | | Don't use /mnt/source2 anymore. /mnt/isodir is for image installs to mount whatever contains the images, and /mnt/source is always the source mount point. Also don't use methodstr where we don't have to.
* Begin removing references to anaconda.method and anaconda.methodstr.Chris Lumens2007-12-051-19/+0
| | | | | | 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.
* Remove base InstallMethod class and harddrive.py and urlinstall.py files.Chris Lumens2007-12-051-3/+0
| | | | | | This commit removes the base InstallMethod class without removing the users in other files, so obviously this commit cannot stand alone. installmethod.py and image.py at the very least still need significant changes.
* import isys (#390141)Jeremy Katz2007-11-191-0/+1
|