PATCH : storage-branch: Do not create PV's in empty space of disks not selected for install
On Sun, 2009-03-01 at 00:08 +0100, Hans de Goede wrote:
> ---
> storage/partitioning.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Looks good.
>
> diff --git a/storage/partitioning.py b/storage/partitioning.py
> index 17a1081..49b3659 100644
> --- a/storage/partitioning.py
> +++ b/storage/partitioning.py
> @@ -58,7 +58,7 @@ def doAutoPartition(anaconda):
> # get a list of disks that have at least one free space region of at
> # least 100MB
> disks = []
> - for disk in anaconda.id.storage.disks:
> + for disk in [d for d in anaconda.id.storage.disks if d.name in anaconda.id.storage.clearPartDisks]:
> partedDisk = disk.partedDisk
> part = disk.partedDisk.getFirstPartition()
> while part:
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|