add default uri
Guido Günther authored 15 years ago
Guido Guenther committed 15 years ago
7 | 7 |
# Licesnse: GPLv2
|
8 | 8 |
#
|
9 | 9 |
# depends: python-libvirt, python-libxml2
|
10 | |
#
|
11 | |
# If you don't want to use the default uri use:
|
12 | |
#
|
13 | |
# [libvirt-*]
|
14 | |
# env.uri qemu:///system
|
15 | |
#
|
16 | |
# in your plugin configuration
|
17 | 10 |
#
|
18 | 11 |
#%# capabilities=autoconf
|
19 | 12 |
#%# family=contrib
|
|
95 | 88 |
|
96 | 89 |
|
97 | 90 |
def main(sys):
|
98 | |
uri = os.getenv("uri")
|
|
91 |
uri = os.getenv("uri", "qemu:///system")
|
99 | 92 |
|
100 | 93 |
if len(sys) > 1:
|
101 | 94 |
if sys[1] in [ 'autoconf', 'detect' ]:
|
8 | 8 |
# License: GPLv2
|
9 | 9 |
#
|
10 | 10 |
# depends: python-libvirt
|
11 | |
#
|
12 | |
# If you don't want to use the default uri use:
|
13 | |
#
|
14 | |
# [libvirt-*]
|
15 | |
# env.uri qemu:///system
|
16 | |
#
|
17 | |
# in your plugin configuration
|
18 | 11 |
#
|
19 | 12 |
#%# capabilities=autoconf
|
20 | 13 |
#%# family=contrib
|
|
58 | 51 |
|
59 | 52 |
|
60 | 53 |
def main(sys):
|
61 | |
uri = os.getenv("uri")
|
|
54 |
uri = os.getenv("uri", "qemu:///system")
|
62 | 55 |
|
63 | 56 |
if len(sys) > 1:
|
64 | 57 |
if sys[1] in [ 'autoconf', 'detect' ]:
|
7 | 7 |
# License GPLv2
|
8 | 8 |
#
|
9 | 9 |
# depends: python-libvirt, python-libxml2
|
10 | |
#
|
11 | |
# If you don't want to use the default uri use:
|
12 | |
#
|
13 | |
# [libvirt-*]
|
14 | |
# env.uri qemu:///system
|
15 | |
#
|
16 | |
# in your plugin configuration
|
17 | 10 |
#
|
18 | 11 |
#%# capabilities=autoconf
|
19 | 12 |
#%# family=contrib
|
|
94 | 87 |
|
95 | 88 |
|
96 | 89 |
def main(sys):
|
97 | |
uri = os.getenv("uri")
|
|
90 |
uri = os.getenv("uri", "qemu:///system")
|
98 | 91 |
|
99 | 92 |
if len(sys) > 1:
|
100 | 93 |
if sys[1] in [ 'autoconf', 'detect' ]:
|
8 | 8 |
# License: GPLv2
|
9 | 9 |
#
|
10 | 10 |
# depends: python-libvirt
|
11 | |
#
|
12 | |
# If you don't want to use the default uri use:
|
13 | |
#
|
14 | |
# [libvirt-*]
|
15 | |
# env.uri qemu:///system
|
16 | |
#
|
17 | |
# in your plugin configuration
|
18 | 11 |
#
|
19 | 12 |
#%# capabilities=autoconf
|
20 | 13 |
#%# family=contrib
|
|
78 | 71 |
|
79 | 72 |
|
80 | 73 |
def main(sys):
|
81 | |
uri = os.getenv("uri")
|
|
74 |
uri = os.getenv("uri", "qemu:///system")
|
82 | 75 |
|
83 | 76 |
if len(sys) > 1:
|
84 | 77 |
if sys[1] in [ 'autoconf', 'detect' ]:
|