[virt-tools-list] [virt-manager PATCH] Match default storage size values

Martin Kletzander mkletzan at redhat.com
Wed Feb 6 16:23:21 UTC 2013


When creating a new volume, there is either 8GB or 1000MB default.
This patch simply changes the second default to match the first one.
---
 src/virtManager/createvol.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/virtManager/createvol.py b/src/virtManager/createvol.py
index 4f2e993..d86a213 100644
--- a/src/virtManager/createvol.py
+++ b/src/virtManager/createvol.py
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008 Red Hat, Inc.
+# Copyright (C) 2008, 2013 Red Hat, Inc.
 # Copyright (C) 2008 Cole Robinson <crobinso at redhat.com>
 #
 # This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,7 @@ from virtManager.asyncjob import vmmAsyncJob
 from virtinst import Storage

 DEFAULT_ALLOC = 0
-DEFAULT_CAP   = 1000
+DEFAULT_CAP   = 8192

 class vmmCreateVolume(vmmGObjectUI):
     def __init__(self, conn, parent_pool):
-- 
1.8.1.2




More information about the virt-tools-list mailing list