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-mem | |
parent | 316632529403a66c38b24ed492e6758189f760e4 (diff) |
add default uri
Diffstat (limited to 'libvirt-mem')
-rw-r--r-- | libvirt-mem | 9 |
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' ]: |