diff --git a/magnum/conf/services.py b/magnum/conf/services.py index 9c8f4be6c3..d03dfc00d8 100644 --- a/magnum/conf/services.py +++ b/magnum/conf/services.py @@ -15,12 +15,13 @@ from oslo_config import cfg from magnum.i18n import _ service_opts = [ - cfg.StrOpt('host', - help=_('Name of this node. This can be an opaque identifier. ' - 'It is not necessarily a hostname, FQDN, or IP address. ' - 'However, the node name must be valid within ' - 'an AMQP key, and if using ZeroMQ, a valid ' - 'hostname, FQDN, or IP address.')), + cfg.HostAddressOpt('host', + help=_('Name of this node. This can be an opaque ' + 'identifier. It is not necessarily a hostname, ' + 'FQDN, or IP address. However, the node name ' + 'must be valid within an AMQP key, and if using ' + 'ZeroMQ, a valid hostname, FQDN, or IP ' + 'address.')), ]