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:
Jill Rouleau committed 2018-03-07 11:46:33 -08:00
1 parent 362374b72a
commit a6f1daf794
2 files changed
+7 -1

No files matched your search

@@ -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.
+1 -1
View File
@@ -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'),
)