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 > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 04-01-2008, 06:26 AM
Hiroyuki Kaguchi
 
Default remove showing incorrect partition size on guest OS installation

When we install guest OS to a partition by virt-manager,
the "Ready to begin installation" window shows
the size of "Simple File", NOT the size of the partition.

I make a patch that it displays "-" as the size of the storage-partition
for this partition case.

Signed-off-by: Hiroyuki Kaguchi <fj7025cf@aa.jp.fujitsu.com>

---
diff -r 2ea7f77b0339 src/virtManager/create.py
--- a/src/virtManager/create.py Fri Mar 28 13:37:27 2008 -0400
+++ b/src/virtManager/create.py Mon Mar 31 17:51:32 2008 +0900
@@ -392,6 +392,8 @@ class vmmCreate(gobject.GObject):
return self.window.get_widget("storage-file-address").get_text()

def get_config_disk_size(self):
+ if not self.window.get_widget("storage-file-backed").get_active():
+ return None
if not self.window.get_widget("storage-file-size").get_editable():
return None
else:



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 08:32 AM.

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