summaryrefslogtreecommitdiffstats
path: root/textw
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo, leaving one less string needing translation (#567427).Chris Lumens2010-02-231-1/+1
|
* Replace calls to isys.getDasdPorts() with calls to new getDasdPorts()David Cantrell2010-02-221-4/+5
|
* Move bootloader into the Anaconda object.Chris Lumens2010-02-044-4/+4
|
* Move storage into the Anaconda class.Chris Lumens2010-02-043-20/+20
|
* Move timezone to the Anaconda object.Chris Lumens2010-02-042-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-043-6/+6
|
* Move keyboard to the Anaconda object.Chris Lumens2010-02-041-6/+6
|
* Move instLanguage to the Anaconda object.Chris Lumens2010-02-043-13/+12
|
* Move upgrade-related data to the Anaconda object.Chris Lumens2010-02-041-7/+12
| | | | | | 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-2/+2
|
* Use anaconda.ksdata instead of anaconda.isKickstart.Chris Lumens2010-02-041-1/+1
| | | | | | 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.
* iutil.execWithRedirect() hasn't used searchPath= since 2006. Take it out.Peter Jones2010-01-151-1/+1
| | | | | iutil.execWithRedirect() stopped doing anything with searchPath in 2006 when clumens committed d0dec24. Remove these silly vestigal bits.
* pylint error fixes round 2Hans de Goede2010-01-141-0/+4
| | | | | | | | | | | - 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
* Allow InstallInterfaces to modify the installation steps.Chris Lumens2009-12-111-3/+0
| | | | | This will be handy for the filtering interface that does not at all exist in text mode.
* Add support for whole-disk formatting.David Lehman2009-12-091-1/+1
| | | | Whole-disk formats are recognized but cannot be edited in any way.
* Nothing sets flags.setupFilesystems anymore, so it can go too.Chris Lumens2009-12-031-2/+1
|
* Improve text mode fcoe interfaceHans de Goede2009-12-011-16/+39
|
* Add DCB option to text mode FCoE setup (#513011)Hans de Goede2009-11-261-2/+11
|
* Support upgrading when the language isn't in lang-table (#528317).Chris Lumens2009-10-133-4/+4
|
* Fix parsing of optional portnr in iscsi target IP (#525118)Hans de Goede2009-10-101-2/+9
| | | | | | | | | | This patch fixes 2 issues with the parsing of the optional portnr in iscsi target IP's: 1) We don't want to include the : in the portno, so port = target[idx:] should be port = target[idx+1:] 2) An IPV6 IP always includes the : character, so specifying the port was mandatory with IPV6, this patch looks for "]:" inside the string to determine if a port is present for IPV6 strings.
* Use named parameters for translatable strings with multiple params.David Cantrell2009-10-013-7/+10
| | | | | | | | | | | | | | | | This is a cleanup for the po files. xgettext displays the following messages for some Python files: warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments. This patch modifies the reported format strings to use named parameters per the warning message. We were already using these style format strings in users.py and possibly other files. Basically when there is more than one parameter in the format string, we should use a hash table with named parameters.
* The zonetab module has moved (#521986).Chris Lumens2009-09-091-2/+1
|
* Expose common fsset methods and properties in class Storage.David Cantrell2009-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add the following methods and properties to class Storage which map through to FSSet methods, modify existing calls to use the method on class Storage: turnOnSwap() mountFilesystems() umountFilesystems() parseFSTab() mkDevRoot() createSwapFile() fsFreeSpace() mtab mountpoints migratableDevices rootDevice Callers no longer need to pass the Anaconda object to the FSSet methods directly. The method on Storage takes care of that. The mtab() method on FSSet is exposed as a property on Storage. The same is true for fsFreeSpace().
* Simplify language.py to two basic settings, and a lot of support (#517569).Chris Lumens2009-09-021-5/+6
| | | | | | | | | There's now just two important settings in the Language module: instLang, which is the language used while anaconda is running; and systemLang, which is the language the installed system itself will use. These two can be different mainly due to anaconda's text mode interface. The rest of anaconda should only set and get these two. All the other support functions still exist for grabbing timezone, font, etc.
* When bringing up network in UI, update only ifcfg file of selected device ↵Radek Vykydal2009-08-261-1/+9
| | | | | | | | | | (#507084). The value of NM_CONTROLLED has to change from no to yes to trigger device activation by updating of ifcfg file, so we need to update just the files of devices selected by user (instead of all devices). Otherwise, selection of another device after previously failed selection doesn't work. Also make writing out of ONBOOT in text mode consistent with gui.
* Fix traceback in text mode upgrade. (#505435)David Lehman2009-08-171-1/+1
|
* 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.