diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2016-03-17 22:38:27 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2016-03-17 22:38:27 +0000 |
| commit | 6c2aa67cc925e8a88e488b8ff67962f1d5a98866 (patch) | |
| tree | c8740f0ef2e47639d9a19c5bafc68ea18a79034f /scripts | |
| parent | e54ac16c8fc70519129fd28fd7e5debe1eed27db (diff) | |
| download | ansible-6c2aa67cc925e8a88e488b8ff67962f1d5a98866.tar.gz ansible-6c2aa67cc925e8a88e488b8ff67962f1d5a98866.tar.xz ansible-6c2aa67cc925e8a88e488b8ff67962f1d5a98866.zip | |
Fix default group that vhost-info uses.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/vhost-info | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vhost-info b/scripts/vhost-info index 471f160df..496c8f640 100755 --- a/scripts/vhost-info +++ b/scripts/vhost-info @@ -49,17 +49,17 @@ class OutputCallback(CallbackBase): self.cpu_used_in_vm[vhostname]=cpu_used parser = OptionParser(version = "1.0") -parser.add_option('--host', default=[], action='append', help="hosts to act on, defaults to virthosts") +parser.add_option('--host', default=[], action='append', help="hosts to act on, defaults to virtservers") parser.add_option('--hosts-from-file', default=None, dest="host_file", help="read list of hosts from this file") (opts, args) = parser.parse_args(sys.argv[1:]) if not opts.host: - hosts = ["virthosts"] + hosts = ["virtservers"] else: hosts = ';'.join(opts.host) if not opts.host: - hosts = ["virthosts"] + hosts = ["virtservers"] else: hosts = ';'.join(opts.host) |
