And maybe duifferent defaults per ostype,  like:

-----------------
# default for all VMs with ostype win7
qm::win7
        memory 8192
------------------

> -----Original Message-----
> From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel-
> boun...@pve.proxmox.com] On Behalf Of Dietmar Maurer
> Sent: Dienstag, 28. Jänner 2014 09:01
> To: Stefan Priebe - Profihost AG; Alexandre DERUMIER (aderum...@odiso.com)
> Cc: pve-devel@pve.proxmox.com
> Subject: Re: [pve-devel] bring back disk throttle to creation wizard
> 
> > I tried todo this but i fail at adding a listener to the hdpanel.
> 
> I will take a look at that later.
> 
> I am currently trying to define defaults for qemu. I think we can use a new 
> file
> /etc/pve/qemu-defaults.cfg
> 
> ---/etc/pve/qemu-defaults.cfg-example-----
> 
> # default for all VMs
> qm:
>       memory 1024
>       cores 1
> 
> # default for VMs inside pool1
> qm:pool1
>       memory 2048
>       cores 2
> 
> # default for all storages
> storage:
>       iothrottle mbps=5
> 
> # defaults for storage local
> storage::local
>       iothrottle mbps=10
> 
> # defaults for storage local when use for VM inside pool1 storage:pool1:local
>       iothrottle mbps=20
> ----------------
> 
> what do you think ?
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to