Set sample_default for rpc_zmq_host
oslo-config-generator will use the sample_default for the sample config file rather than the hostname of the system it happens to be running on. Change-Id: I9c7bf24cfe5c66155d00d9a1b390894d1ccb6bd8
This commit is contained in:
parent
04a26eba7b
commit
92d56790a6
|
@ -77,6 +77,7 @@ zmq_opts = [
|
||||||
help='Directory for holding IPC sockets.'),
|
help='Directory for holding IPC sockets.'),
|
||||||
|
|
||||||
cfg.StrOpt('rpc_zmq_host', default=socket.gethostname(),
|
cfg.StrOpt('rpc_zmq_host', default=socket.gethostname(),
|
||||||
|
sample_default='localhost',
|
||||||
help='Name of this node. Must be a valid hostname, FQDN, or '
|
help='Name of this node. Must be a valid hostname, FQDN, or '
|
||||||
'IP address. Must match "host" option, if running Nova.'),
|
'IP address. Must match "host" option, if running Nova.'),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue