[virt-tools-list] [PATCH] LogicalPool: properly pass on autostart flag

Cole Robinson crobinso at redhat.com
Thu Sep 6 15:51:37 UTC 2012


On 09/05/2012 09:56 AM, Guido Günther wrote:
> Otherwise setting autostart on pool creation doesn't work.
> ---
>  virtinst/Storage.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/virtinst/Storage.py b/virtinst/Storage.py
> index 2890700..42e7ab6 100644
> --- a/virtinst/Storage.py
> +++ b/virtinst/Storage.py
> @@ -741,7 +741,7 @@ class LogicalPool(StoragePool):
>              raise ValueError(_("Must explicitly specify source path if "
>                                 "building pool"))
>          return StoragePool.install(self, meter=meter, create=create,
> -                                   build=build, autostart=False)
> +                                   build=build, autostart=autostart)
>  
>  class DiskPool(StoragePool):
>      """
> 

Thanks Guido, pushed now.

- Cole




More information about the virt-tools-list mailing list