Merge "Set sample_default for 'host' option"

This commit is contained in:
Zuul 2018-04-13 22:47:53 +00:00 committed by Gerrit Code Review
commit fd7654f37f

View File

@ -104,6 +104,7 @@ global_opts = [
default='cinder.scheduler.manager.SchedulerManager',
help='Full class name for the Manager for scheduler'),
cfg.HostAddressOpt('host',
sample_default='localhost',
default=socket.gethostname(),
help='Name of this node. This can be an opaque '
'identifier. It is not necessarily a host name, '