aboutsummaryrefslogtreecommitdiff
path: root/libvirt-mem
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2008-10-23 12:57:29 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-10-23 12:57:29 +0200
commit4369c7459be29ef6966c7c5ebf0b2edf06151f0e (patch)
tree710bdc72c7b07c7191e73df9f4abeb5139e4146a /libvirt-mem
parent316632529403a66c38b24ed492e6758189f760e4 (diff)
add default uri
Diffstat (limited to 'libvirt-mem')
-rw-r--r--libvirt-mem9
1 files changed, 1 insertions, 8 deletions
diff --git a/libvirt-mem b/libvirt-mem
index e0644ba..151d614 100644
--- a/libvirt-mem
+++ b/libvirt-mem
@@ -10,13 +10,6 @@
#
# depends: python-libvirt
#
-# If you don't want to use the default uri use:
-#
-# [libvirt-*]
-# env.uri qemu:///system
-#
-# in your plugin configuration
-#
#%# capabilities=autoconf
#%# family=contrib
@@ -79,7 +72,7 @@ def fetch_values(uri):
def main(sys):
- uri = os.getenv("uri")
+ uri = os.getenv("uri", "qemu:///system")
if len(sys) > 1:
if sys[1] in [ 'autoconf', 'detect' ]: