| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The property name for Device objects on a Disk or Geometry is
'device', not 'dev'.
|
|
|
|
|
| |
The parted.Device object now provides a getSize() method to return
the size of the device in a human-readable format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
You can, however, still select the drives to use and the basic layout to use.
You can also still use kickstart.
|
| |
|
| |
|
|
|
|
| |
There is no more interactive group/package selection in text mode.
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
Fix a few syntax error caugh by pychecker.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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 up the strings and dialog windows in the text mode interface.
|
|
|
|
|
| |
Mention that updates are available and sync up text for completion between
text mode and GUI
|
|
|
|
|
| |
We used "default" a lot in the text. Change based on notting's suggestion
and make the intro text a little clearer to match
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|