[virt-tools-list] [PATCH virt-manager] storage: change default storage size to 20G

Giuseppe Scrivano gscrivan at redhat.com
Tue Jan 27 16:09:42 UTC 2015


If libosinfo fails to detect the operating system or the user doesn't
select any, use 20G by default.

Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---

The idea is that storage is getting always cheaper, so it makes sense
to give more space to VMs.

virtManager/create.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/virtManager/create.py b/virtManager/create.py
index 0ecc6d7..c5fbe1a 100644
--- a/virtManager/create.py
+++ b/virtManager/create.py
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2008, 2013, 2014 Red Hat, Inc.
+# Copyright (C) 2008, 2013, 2014, 2015 Red Hat, Inc.
 # Copyright (C) 2008 Cole Robinson <crobinso at redhat.com>
 #
 # This program is free software; you can redistribute it and/or modify
@@ -1651,7 +1651,7 @@ class vmmCreate(vmmGObjectUI):
             n_cpus = res["n-cpus"]
         self.widget("config-cpus").set_value(n_cpus)
 
-        storage_size = 8
+        storage_size = 20
         if res and res.get("storage"):
             storage_size = int(res["storage"]) / (1024 ** 3)
         self.addstorage.widget("config-storage-size").set_value(storage_size)
-- 
2.1.0




More information about the virt-tools-list mailing list