Avoid build system IP going into sample config

We should not show the IP address of the build system as
the sample default for my_ip in /etc/cinder/cinder.conf.sample .

This patch sets a sample_default that will be used instead.

Change-Id: If9ba07bb7f83c2ad3d89e2d5264c064117bbad23
closes-bug: 1755282
This commit is contained in:
Jay S. Bryant 2018-03-12 15:25:17 -05:00
parent afecba3b95
commit 1197d7f6f0
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ CONF.register_cli_opts(core_opts)
global_opts = [
cfg.HostAddressOpt('my_ip',
sample_default='<HOST_IP_ADDRESS>',
default=netutils.get_my_ipv4(),
help='IP address of this host'),
cfg.ListOpt('glance_api_servers',