diff options
| author | Ralph Bean <rbean@redhat.com> | 2013-07-30 01:24:30 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2013-07-30 01:41:13 +0000 |
| commit | a50eacb027bcb32008f1a24bca8fc161daf52624 (patch) | |
| tree | b4c1747a11ef5a81964fa6e6b6b170034199884a /scripts | |
| parent | d9e9338ad33c5fee8d0458cfa1bef98c8f474fb6 (diff) | |
| download | ansible-a50eacb027bcb32008f1a24bca8fc161daf52624.tar.gz ansible-a50eacb027bcb32008f1a24bca8fc161daf52624.tar.xz ansible-a50eacb027bcb32008f1a24bca8fc161daf52624.zip | |
Use a nice default for the vhost script.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ans-vhost-freemem | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ans-vhost-freemem b/scripts/ans-vhost-freemem index 890516282..4d1902213 100755 --- a/scripts/ans-vhost-freemem +++ b/scripts/ans-vhost-freemem @@ -34,6 +34,9 @@ def parse_args(args): hn = hn.replace('\n', '') opts.host.append(hn) + if not opts.host: + opts.host = ["virthost*"] + return opts, args, parser |
