From ae7ea36f745d70b5665a2190ad316756310315bd Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 29 Mar 2011 23:09:40 +0000 Subject: CreateXml do not create persistant pool, while Define does --- modules/libvirtd/files/storage_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/libvirtd/files/storage_add.py') diff --git a/modules/libvirtd/files/storage_add.py b/modules/libvirtd/files/storage_add.py index 88475ec6..5d95922d 100644 --- a/modules/libvirtd/files/storage_add.py +++ b/modules/libvirtd/files/storage_add.py @@ -24,5 +24,5 @@ storage_xml = """ """ % ( name, path ) c=libvirt.open("qemu:///system") -c.storagePoolCreateXML(storage_xml,0) +c.storagePoolDefineXML(storage_xml,0) -- cgit v1.2.1