Change default config download directory
As we will no longer be writing tmpdirs for config download, changes the default download location to a subdirectory so as not to spray config files at the root of the user's home. Change-Id: I45cd340a256a7f1c3c0038948c0a9deb32a34109 Related-Bug: 1752118
This commit is contained in:
parent
362374b72a
commit
a6f1daf794
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
upgrade:
|
||||
- The default location for ``openstack overcloud config download`` has
|
||||
changed to ``~/tripleo-config``. ``config download`` also no longer
|
||||
uses tmpdirs and will overwrite files on subsequent runs to the same
|
||||
``--config-dir`` location.
|
|
@ -37,7 +37,7 @@ class DownloadConfig(command.Command):
|
|||
parser.add_argument(
|
||||
'--config-dir',
|
||||
dest='config_dir',
|
||||
default=os.path.expanduser("~"),
|
||||
default=os.path.expanduser("~")+'/tripleo-config',
|
||||
help=_('The directory where the configuration files will be '
|
||||
'pushed'),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue