| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This patch also moves rootPassword into Users where it belongs and auth
into Security where it belongs.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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() stopped doing anything with searchPath in 2006
when clumens committed d0dec24. Remove these silly vestigal bits.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
This will be handy for the filtering interface that does not at all exist
in text mode.
|
|
|
|
| |
Whole-disk formats are recognized but cannot be edited in any way.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
(#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.
|
| |
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
We have lots of strings that we display to users which are unclear or
contain poor usage and grammar. That's bad.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
When manually adding an iscsi disk it will not show up in the where to
install the bootloader dropdown, this patch fixes this.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
|
| |
This is consistent with the graphical installation mode, which will only
install Core if all groups are deselected.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This continues the war on calling iutil.isWhatever() everywhere. We can
start using the platform module for that.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
anaconda
fsset.py
iutil.py
iw/partition_gui.py
partedUtils.py
|
| |
| |
| |
| | |
Signed-off-by: David Cantrell <dcantrell@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|