summaryrefslogtreecommitdiffstats
path: root/textw
Commit message (Collapse)AuthorAgeFilesLines
* Remove the message saying you can make your own layout (#495015).Chris Lumens2009-04-091-1/+1
|
* Try to handle devices which live in a subdir of /dev properlyHans de Goede2009-04-061-1/+2
| | | | | | This hopefully fixes cciss (will test once an anaconda with this in has hit rawhide, so I can use rhts to test). This is the second version of this patch, this time it also does the / -> ! translation for sysfs names.
* Make the disk model an attribute of DiskDevice.David Lehman2009-04-021-1/+1
|
* Fix text mode autopartitioning (#491282).Chris Lumens2009-03-201-1/+2
| | | | | (1) We need to use the device's name instead of its path for clearPartDisks. (2) We need to set doAutoPart since text mode is autopart only.
* Don't try to fit the whole StorageDevice.__str__ output into the UI (#490406).Chris Lumens2009-03-181-1/+1
|
* Use the right import path for checkbootloader (#490049).Chris Lumens2009-03-131-1/+1
|
* Only select the Core group in text mode (#488754).Chris Lumens2009-03-131-1/+0
| | | | | This is consistent with the graphical installation mode, which will only install Core if all groups are deselected.
* It's clearPartDisks, not clearPartDrives.Chris Lumens2009-03-121-2/+2
|
* Fix booty for dmraidHans de Goede2009-03-091-2/+2
| | | | | | Booty was expecting the xxxxxxx part of /dev/xxxxxx paths instead of new storage device names, this patch fixes this, making booty work on dmraid with the new storage code.
* Check to see if we're on S390 on the congrats screen (#488747).Chris Lumens2009-03-051-1/+2
| | | | | This continues the war on calling iutil.isWhatever() everywhere. We can start using the platform module for that.
* Merge branch 'master' into storageDavid Lehman2009-03-041-6/+26
|\ | | | | | | | | | | | | | | | | Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
| * reIPL support for s390Mark Hamzy2009-03-021-6/+26
| | | | | | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* | Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | - 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.
* | Lots of little updates to make things use the new storage module.David Lehman2009-02-242-54/+44
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
* Use device property on Disk and Geometry objects.David Cantrell2009-02-121-2/+2
| | | | | The property name for Device objects on a Disk or Geometry is 'device', not 'dev'.
* Removed partedUtils.getDeviceSizeMB(), functionality now in pyparted.David Cantrell2009-02-121-1/+1
| | | | | The parted.Device object now provides a getSize() method to return the size of the device in a human-readable format.
* Rewrite iscsi code using libiscsiHans de Goede2009-02-111-1/+1
| | | | | | | | | | | | | | | | | | | This patch replaces the iscsi.py code with new code using libiscsi, getting rid of the awefull configfile mangling to set auth info hack, and in general making it much cleaner. Fixes: -Report error when we cannot add a disk instead of silently failing (461830) -Report error when trying to use iscsi from kickstart without having an iscsiname directive first (463156) -Better feedback while scanning iscsi disks -Make ibft work with chap and 2-way chap -Make ibft configured disks available for upgrades and in rescue mode -Make ibft boot work even when iscsi-initiator-utils is installed after the kernel in the transaction Note: libiscsi is available in Fedora now
* Remove interactive partitioning. Now you only get autopart.Chris Lumens2009-02-091-1473/+11
| | | | | You can, however, still select the drives to use and the basic layout to use. You can also still use kickstart.
* Completely remove the bootloader step from interactive text mode.Chris Lumens2009-02-092-468/+1
|
* Remove unused partmethod step.Chris Lumens2009-02-091-46/+0
|
* Reduce package selection down to automatically installing Base and Core.Chris Lumens2009-02-092-220/+5
| | | | There is no more interactive group/package selection in text mode.
* Strip the network screen down to just setting the default hostname.Chris Lumens2009-02-091-54/+3
|
* Update partedUtils.py:findExistingRootPartitions to return UUID (atodorov).Chris Lumens2009-01-071-1/+1
| | | | | | | | The attached patch updates findExistingRootPartitions to return dev, fs, release string, label and uuid and fixes all callers to use the 5 tuple. This is required so that later changes to upgrades functionality can fit better in the code. For more background see: https://www.redhat.com/archives/anaconda-devel-list/2008-December/msg00210.html
* Various packaging fixed from review (#225246)Hans de Goede2009-01-051-1/+1
| | | | Various packaging fixed from review (#225246)
* Do not import unused modules.David Cantrell2008-12-231-1/+0
|
* Fix a few syntax error caugh by pycheckerHans de Goede2008-12-202-2/+3
| | | | Fix a few syntax error caugh by pychecker.
* cracklib now raises exceptions on bad passwords (rzhou, #476312).Chris Lumens2008-12-151-2/+4
|
* Prevent network install when no network devices are found (#470144)David Cantrell2008-12-051-2/+14
| | | | | | | | | | | | A corner case, but if a user boots up with boot.iso and has no network devices available, we get all the way to package selection and user is told they cannot continue. This is after all of the other screens and partitioning. In the welcome screen, perform a check to see if the user has booted the installer to a point where it requires a network install for the packages. If so, tell the user they cannot continue and exit the installer.
* Move strip_markup() into iutil.Chris Lumens2008-12-051-16/+1
|
* Change text to reflect Jesse's commentsJeremy Katz2008-12-051-3/+2
|
* Say we are unable to configure the network interface (#467960)David Cantrell2008-12-021-0/+2
| | | | | | | | In stage 2 when you get the 'Enable network interface' dialog, if you select an interface that is not able to connect to a network, we just wait and then take the user back to the Enable network interface dialog. Before going back to the dialog, tell the user we were unable to configure the selected interface.
* Match textw/network_text.py strings to iw/network_gui.py (#470145)David Cantrell2008-12-021-26/+16
| | | | Match up the strings and dialog windows in the text mode interface.
* Make complete text mention updates (#244431)Jeremy Katz2008-12-011-10/+6
| | | | | Mention that updates are available and sync up text for completion between text mode and GUI
* Make text for autopartitioning types clearer (#441350)Jeremy Katz2008-12-011-8/+4
| | | | | We used "default" a lot in the text. Change based on notting's suggestion and make the intro text a little clearer to match
* iscsi do missing value check only onceHans de Goede2008-11-111-18/+0
| | | | | | | Currently the iscsi code checks for giving a password but not a username or vica versa in both the interface and the iscsi code, this patch removes the unneeded check from the interface code, this is a preparation patch for fixing #463156, #461830
* Include cracklib .mo files and look up strings in the right domain.Chris Lumens2008-11-111-1/+1
|
* Set initial state of IP configuration fields in text mode (#469933)David Cantrell2008-11-041-0/+1
| | | | | | When performing a text mode install, call self._dhcpToggled() before running the dialog so the initial state of the manual entry fields matches the checkbox choices.
* Fix typo that somehow snuck inJeremy Katz2008-11-031-1/+1
|
* Improve filtering of non-available groups (#469438)Jeremy Katz2008-11-031-0/+2
| | | | | | | | We show groups that don't have any of their mandatory packages available which is less than ideal as, eg, xfce-desktop gets shown just because gdm is on the dvd. So make our filtering a little bit stronger. And make sure that text mode is using the same filtering
* Get the right list elements for the iscsi text interface (#466902).Chris Lumens2008-10-311-1/+1
|
* Don't traceback when displaying error messages (#469372).Chris Lumens2008-10-311-2/+2
|
* Fix various syntax errors caught by PyCheckerHans de Goede2008-10-291-1/+1
| | | | Fix various syntax errors caught by PyChecker
* Revert "Say we are unable to configure the network interface (#467960)"David Cantrell2008-10-241-2/+0
| | | | This reverts commit d5c0a7287fe810c06968687777bdca527a44258e.
* Say we are unable to configure the network interface (#467960)David Cantrell2008-10-231-0/+2
| | | | | | | | In stage 2 when you get the 'Enable network interface' dialog, if you select an interface that is not able to connect to a network, we just wait and then take the user back to the Enable network interface dialog. Before going back to the dialog, tell the user we were unable to configure the selected interface.
* Don't display the entire lengthy device description (#467825).Chris Lumens2008-10-231-1/+1
|
* Fix bringing up the network in rescue mode (#466523).Chris Lumens2008-10-101-5/+12
|
* Fix a typo.Chris Lumens2008-10-071-1/+1
|
* Disable IPv6 widgets for F-10.David Cantrell2008-10-061-26/+26
| | | | | NetworkManager currently lacks IPv6, so do not expose IPv6 widgets in the network UI in anaconda for now.
* Automatically select NIC based on ksdevice= boot parameter.David Cantrell2008-10-021-0/+11
| | | | | | If you boot with boot.iso and pass ksdevice=DEVICE or ksdevice=MACADDR, use that to automatically select the NIC to use when we ask the user to bring up the network for installation.
* Gateway and nameserver are optional for static network configuration.David Cantrell2008-09-301-2/+3
| | | | | | Do not force users to provide a gateway or a nameserver, just pass if those are missing. However, if they are provided, still raise an error if the provided value is incorrect.