diff options
author | Jason Kölker <jason@koelker.net> | 2011-09-27 17:45:23 -0500 |
---|---|---|
committer | Jason Kölker <jason@koelker.net> | 2011-09-27 17:45:23 -0500 |
commit | e8fcb19c252c9653eacbe44d23a69717ccccaae6 (patch) | |
tree | 12a0be166812b440eb65b8f6e0a6d4cdd13b28e8 /openstack | |
parent | 561048e4454a414e789053ac75dba8eac51db9ab (diff) | |
download | oslo-e8fcb19c252c9653eacbe44d23a69717ccccaae6.tar.gz oslo-e8fcb19c252c9653eacbe44d23a69717ccccaae6.tar.xz oslo-e8fcb19c252c9653eacbe44d23a69717ccccaae6.zip |
fake out the options needed and allout output to specific dir
Diffstat (limited to 'openstack')
-rw-r--r-- | openstack/paste/commands.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openstack/paste/commands.py b/openstack/paste/commands.py index 9751f18..0ba62e9 100644 --- a/openstack/paste/commands.py +++ b/openstack/paste/commands.py @@ -30,7 +30,20 @@ class OpenstackCommand(create_distro.CreateDistroCommand): no_interactive=True, quiet=True, overwrite=True) + parser.add_option('-o', '--output-dir', + dest='output_dir', + metavar='DIR', + default='.', + help="Write put the directory into DIR (default current directory)") def command(self): # NOTE(jkoelker): Only support the *one* Openstack template self.options.templates = ['openstack'] + + # NOTE(jkoelekr): We fake out what we don't want + self.options.list_templates = False + self.options.list_variables = False + self.options.config = False + self.options.inspect_files = False + self.options.svn_repository = False + create_distro.CreateDistroCommand.command(self) |