FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 03-04-2011, 05:45 PM
David Lehman
 
Default Don't clobber exclusiveDisks unless there are disk images.

Related: rhbz#681608
---
pyanaconda/storage/devicetree.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index 660d4a5..216c607 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -172,7 +172,11 @@ class DeviceTree(object):
self.iscsi = iscsi
self.dasd = dasd

- self.setDiskImages(getattr(conf, "diskImages", {}))
+ self.diskImages = {}
+ images = getattr(conf, "diskImages", {})
+ if images:
+ # this will overwrite self.exclusiveDisks
+ self.setDiskImages(images)

# protected device specs as provided by the user
self.protectedDevSpecs = getattr(conf, "protectedDevSpecs", [])
--
1.7.3.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org