diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2018-12-13 14:35:02 +0000 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2019-02-28 10:03:45 +0000 |
commit | 3e0fb203dbbca2718f2c3d43b0b5dfe182be7f4b (patch) | |
tree | 30d1593abb69669e0ff93dfaf7ac84e2c276bf90 /etc | |
parent | 1948ce59c06aacc3fb9a71cbf8b099db8467da01 (diff) | |
download | nova-3e0fb203dbbca2718f2c3d43b0b5dfe182be7f4b.tar.gz |
Summarize output of sample configuration generator
Our sample configuration files are long. Really, really long. Make them
shorter through use of the summarize option added to oslo.config years
ago [1]. This turns a help text like the following:
[DEFAULT]
# This option helps you specify initial virtual disk to physical disk
# allocation ratio.
#
# This is only used when initially creating the ``computes_nodes``
# table record for a given nova-compute service.
#
# See https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html
# for more details and usage scenarios.
#
# Related options:
#
# * ``disk_allocation_ratio``
# (floating point value)
# Minimum value: 0
initial_disk_allocation_ratio = 1.0
Into:
[DEFAULT]
# This option helps you specify initial virtual disk to physical disk
# allocation ratio. For more information, refer to the documentation.
# (floating point value)
# Minimum value: 0
initial_disk_allocation_ratio = 1.0
Shorter, one line descriptions are kept as-is.
[1] https://github.com/openstack/oslo.config/commit/2f8025b22
Change-Id: Iaa51b6a139fc9b7ffc97cd6881a9d49b29858b9b
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nova/nova-config-generator.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nova/nova-config-generator.conf b/etc/nova/nova-config-generator.conf index 4bdcbd4833..36dc32ab39 100644 --- a/etc/nova/nova-config-generator.conf +++ b/etc/nova/nova-config-generator.conf @@ -1,6 +1,7 @@ [DEFAULT] output_file = etc/nova/nova.conf.sample wrap_width = 80 +summarize = true namespace = nova.conf namespace = oslo.log namespace = oslo.messaging |