Add HostnameFormatDefault for Ceph related roles

This change adds the missing hostname format defined for each role but
missing for the Ceph node types.  This parameter is useful and can be
used by other tools that generates the baremetal file used by metalsmith
during the provisioning process.

Closes-Bug: #1748931
Change-Id: I4e8cfe2b5008cdd4986d0a18594706023259a040
(cherry picked from commit 720dd1482c)
This commit is contained in:
Francesco Pantano 2022-03-16 08:04:13 +01:00
parent 524d8a8872
commit 5f9d4cab58
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@
StorageMgmt:
subnet: storage_mgmt_subnet
uses_deprecated_params: False
HostnameFormatDefault: '%stackname%-cephstorage-%index%'
deprecated_nic_config_name: 'ceph-storage.yaml'
# CephOSD present so serial has to be 1
update_serial: 1

View File

@ -384,6 +384,7 @@
StorageMgmt:
subnet: storage_mgmt_subnet
uses_deprecated_params: False
HostnameFormatDefault: '%stackname%-cephstorage-%index%'
deprecated_nic_config_name: 'ceph-storage.yaml'
# CephOSD present so serial has to be 1
update_serial: 1