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:
Brant Knudson 2014-08-13 16:27:51 -05:00
parent 04a26eba7b
commit 92d56790a6
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ zmq_opts = [
help='Directory for holding IPC sockets.'),
cfg.StrOpt('rpc_zmq_host', default=socket.gethostname(),
sample_default='localhost',
help='Name of this node. Must be a valid hostname, FQDN, or '
'IP address. Must match "host" option, if running Nova.'),