From 4369c7459be29ef6966c7c5ebf0b2edf06151f0e Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 23 Oct 2008 12:57:29 +0200 Subject: add default uri --- libvirt-cputime | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libvirt-cputime') 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' ]: -- cgit v1.2.3