aboutsummaryrefslogtreecommitdiffstats
path: root/modules/libvirtd
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-29 23:09:40 +0000
committerMichael Scherer <misc@mageia.org>2011-03-29 23:09:40 +0000
commitae7ea36f745d70b5665a2190ad316756310315bd (patch)
treea2d3c3debcfe9eed3282757296edcf809a25906b /modules/libvirtd
parentea50e0d455d9ff8500888e1a8fea06e54ae7f972 (diff)
downloadpuppet-ae7ea36f745d70b5665a2190ad316756310315bd.tar
puppet-ae7ea36f745d70b5665a2190ad316756310315bd.tar.gz
puppet-ae7ea36f745d70b5665a2190ad316756310315bd.tar.bz2
puppet-ae7ea36f745d70b5665a2190ad316756310315bd.tar.xz
puppet-ae7ea36f745d70b5665a2190ad316756310315bd.zip
CreateXml do not create persistant pool, while Define does
Diffstat (limited to 'modules/libvirtd')
-rw-r--r--modules/libvirtd/files/storage_add.py2
1 files changed, 1 insertions, 1 deletions
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 = """
</pool>""" % ( name, path )
c=libvirt.open("qemu:///system")
-c.storagePoolCreateXML(storage_xml,0)
+c.storagePoolDefineXML(storage_xml,0)