Merge "Add undercloud hostname."

This commit is contained in:
Jenkins 2017-10-06 06:09:20 +00:00 committed by Gerrit Code Review
commit 9fb431463d
1 changed files with 3 additions and 0 deletions

View File

@ -322,6 +322,9 @@ class DeployUndercloud(command.Command):
hostname = self._get_hostname()
data = {
'HostnameMap': {
'undercloud-undercloud-0': '%s' % hostname
},
'DeployedServerPortMap': {
('%s-ctlplane' % hostname): {
'fixed_ips': [{'ip_address': ip_addr}],