| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
Use the getFirstPartition() and nextPartition() method to
iterate over partitions so we can see the free space as
represented by libparted.
|
|
|
|
|
|
|
|
| |
To get the name of the filesystem type (e.g., 'ext3'), use
parted.FileSystem.type. This string is also a valid key in to
the parted.fileSystemType hash table. You can extract the value
from the hash table to get a _ped.FileSystemType object for your
filesystem.
|
|
|
|
|
|
|
| |
Rather than calling disk.nextPartition() over and over, we can
get a hash table of all partitions on a disk via disk.partitions.
Iterate over the values() of this hash (the keys correspond to
the partition number).
|
|
|
|
|
|
| |
The old pyparted had CHS values as properties directly on the
PedDevice. The new pyparted API gives a 3-tuple for the CHS
values via the biosGeometry and hardwareGeometry properties.
|
|
|
|
|
| |
The property name for Device objects on a Disk or Geometry is
'device', not 'dev'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Iterate over partitions with a for loop over
disk.partitions.values() rather than calling next_partition()
2) Call getFlag() rather than get_flag()
3) Call setFlag() to enable a flag, call unsetFlag() to disable
a flag.
4) Reference the active property rather than calling the
is_active() method.
And other fixes.
|
|
|
|
|
|
|
| |
In the old pyparted, this flag was marked with all sorts of warnings about
how it would go away once certain constants were supported. We now support
all the constants libparted exposes, so we don't need to keep ancient hacks
around anymore.
|
|
|
|
| |
Now provided by pyparted as parted.getPartitionByName()
|
|
|
|
| |
Now provided by parted.Partition.getDeviceNodeName()
|
|
|
|
|
| |
The parted.Device object now offers functions to translate
between cylinders and sectors.
|
|
|
|
|
| |
The parted.Partition object provides getSize() to return the size
of the partition in a human-readable format.
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
This patch also makes selecting /boot as mountpoint
to automatically select ext3 (in place of ext4)
in filesystem combo.
|
|
|
|
|
| |
Also, change the wording in the UI slightly to indicate you can add a port
to the proxy string.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
If the user changes to static network configuration, we may or may not
have values already that we can populate the fields with. If we do,
take them. Otherwise, leave the field blank and keep going.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Port of commit 3568291 from rhel5-branch.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
For new repos that are added, we should also be sure to add their comps
information to the base comps object. This largely cut and pastes bits from
yum's doGroupSetup(), but that can't be done on a per-repo basis. We should
add some API, but this will do for now
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
This is required by changes I made in s-c-keyboard to fix a traceback in
firstboot reconfig mode. Seems like having both of these working at the
same time is very difficult.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fix the last few pychecker warnings in master
|
|
|
|
| |
Fix various syntax errors caught by PyChecker
|
| |
|
|
|
|
| |
This reverts commit d5c0a7287fe810c06968687777bdca527a44258e.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Store provided nameserver as the 'DNS1' value in the NetworkDevice
object, rather than writing out resolv.conf from the netconfig
interface code.
|
|
|
|
|
|
| |
Make sure we write out BOOTPROTO=static and that we add the
GATEWAY line to the ifcfg-DEVICE file, otherwise we get an
incomplete network configuration from NetworkManager.
|
| |
|
| |
|