1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

Modified ova template name to use failure domain name

This commit is contained in:
vr4manta
2024-12-10 12:27:24 -05:00
parent 6fec4c858a
commit abbe10adff
11 changed files with 32 additions and 20 deletions

View File

@@ -116,3 +116,8 @@ func ConstructKargsFromNetworkConfig(ipAddrs []string, nameservers []string, gat
logrus.Debugf("Generated karg: [%v].", outKargs)
return outKargs, nil
}
// GenerateVSphereTemplateName returns expected template name.
func GenerateVSphereTemplateName(clusterID, fdName string) string {
return fmt.Sprintf("%s-rhcos-%s", clusterID, fdName)
}