[virt-tools-list] [PATCH] LogicalPool: properly pass on autostart flag
Guido Günther
agx at sigxcpu.org
Wed Sep 5 13:56:24 UTC 2012
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
More information about the virt-tools-list
mailing list