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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/27/2015 11:09 AM, Giuseppe Scrivano wrote:
> 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@xxxxxxxxxx>
> ---
> 
> 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@xxxxxxxxxx>
>  #
>  # 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)
> 

ACK

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux