summaryrefslogtreecommitdiffstats
path: root/textw
Commit message (Collapse)AuthorAgeFilesLines
* Show MAC address of network device in text mode too.Radek Vykydal2009-07-201-3/+4
| | | | | | | I came accross this by the way when working on something different. It adds what was done with commit 2e8dfb72c0c296f24f99512e8fb00c377417a60a (#504216) for GUI to text ui. Althoug BZ suggests that it was already present in text ui, looking into code doesn't (I have no rawhide image to test if it is actually true).
* Edit user-visible dialogs for style.Peter Jones2009-07-131-1/+1
| | | | | We have lots of strings that we display to users which are unclear or contain poor usage and grammar. That's bad.
* error messages of zFCP on s390: log or pass to the UISteffen Maier2009-07-101-1/+4
|
* Initial FCoE supportHans de Goede2009-07-021-1/+28
| | | | | | | | | | | | | | | This patch adds support for using FCoE during the installation. This patch merely lays the initial ground work, there is more work todo: - The system will not boot without manual help after the install, as dracut / mkinitrd do not support FCoE yet - If FCoE is not used for / but for example for /srv, then information about the nic used for FCoE needs to be written in a to be defined config file in the system, and rc.sysinit needs to be thought to read this file and bring up FCoE SAN's / Fabrics not used for / - kickstart support for FCoE still needs to be done
* Tell booty to rescan for bootable drivers when an extra disks get addedHans de Goede2009-06-181-0/+1
| | | | | When manually adding an iscsi disk it will not show up in the where to install the bootloader dropdown, this patch fixes this.
* Convert textw/ to Makefile.amDavid Cantrell2009-06-092-33/+23
|
* Fix discovery of existing raid/lvm for ks install without clearpart ↵Radek Vykydal2009-06-051-1/+5
| | | | | | | | | | | | | | | | | (#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.
* Make the weak password dialog comply with the HIG (#487435).Chris Lumens2009-05-191-1/+1
|
* Forward port various iscsi fixes from 5.4 iscsi workHans de Goede2009-05-061-9/+0
| | | | | | | | | | | | | | This patch contains the following small fixes: - There is no need to convert None as username/pass into an empty string pylibiscsi will happily take either - Only set the initiator name from ibft if the ibft flag is present - Show an error when no username is specified, but a password / reverse username / pass is given - Do not backtrace when the following happens: 1) Manually add iscsi disk 2) enter wrong IP / username without pass 3) Fix this *and* change the initiator name initially choosen - Allow having only a reverse password without a reverse username
* 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
|