diff options
author | Guido Günther <agx@sigxcpu.org> | 2008-10-23 12:57:29 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-10-23 12:57:29 +0200 |
commit | 4369c7459be29ef6966c7c5ebf0b2edf06151f0e (patch) | |
tree | 710bdc72c7b07c7191e73df9f4abeb5139e4146a /libvirt-blkstat | |
parent | 316632529403a66c38b24ed492e6758189f760e4 (diff) |
add default uri
Diffstat (limited to 'libvirt-blkstat')
-rw-r--r-- | libvirt-blkstat | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libvirt-blkstat b/libvirt-blkstat index 3104c4b..0003754 100644 --- a/libvirt-blkstat +++ b/libvirt-blkstat @@ -9,13 +9,6 @@ # # depends: python-libvirt, python-libxml2 # -# If you don't want to use the default uri use: -# -# [libvirt-*] -# env.uri qemu:///system -# -# in your plugin configuration -# #%# capabilities=autoconf #%# family=contrib @@ -96,7 +89,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' ]: |