summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2013-07-30 01:24:30 +0000
committerRalph Bean <rbean@redhat.com>2013-07-30 01:41:13 +0000
commita50eacb027bcb32008f1a24bca8fc161daf52624 (patch)
treeb4c1747a11ef5a81964fa6e6b6b170034199884a /scripts
parentd9e9338ad33c5fee8d0458cfa1bef98c8f474fb6 (diff)
downloadansible-a50eacb027bcb32008f1a24bca8fc161daf52624.tar.gz
ansible-a50eacb027bcb32008f1a24bca8fc161daf52624.tar.xz
ansible-a50eacb027bcb32008f1a24bca8fc161daf52624.zip
Use a nice default for the vhost script.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ans-vhost-freemem3
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