aboutsummaryrefslogtreecommitdiff
path: root/libvirt-cputime
diff options
context:
space:
mode:
Diffstat (limited to 'libvirt-cputime')
-rw-r--r--libvirt-cputime9
1 files changed, 1 insertions, 8 deletions
diff --git a/libvirt-cputime b/libvirt-cputime
index a26124c..42884a5 100644
--- a/libvirt-cputime
+++ b/libvirt-cputime
@@ -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
@@ -59,7 +52,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' ]: