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

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



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):
     """
-- 
1.7.10.4


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