Pass docker hostname and domain as different params for testNode function
Pass docker hostname and domain as two different params for testNode
CC model testing function to avoid problem with setting docker hostname
to long as it now contains fqdn.
Change-Id: I94af398f695029be2478e41023bc2687fb828529
Related-Prod: PROD-27622 (PROD:27622)
diff --git a/test-cookiecutter-reclass-chunk.groovy b/test-cookiecutter-reclass-chunk.groovy
index 15634bd..8fe0a2b 100644
--- a/test-cookiecutter-reclass-chunk.groovy
+++ b/test-cookiecutter-reclass-chunk.groovy
@@ -27,7 +27,8 @@
def content = readFile(file: extraVars.modelFile)
def templateContext = readYaml text: content
def config = [
- 'dockerHostname': "cfg01.${templateContext.default_context.cluster_domain}",
+ 'dockerHostname': "cfg01",
+ 'domain': "${templateContext.default_context.cluster_domain}",
'clusterName': templateContext.default_context.cluster_name,
'reclassEnv': extraVars.testReclassEnv,
'distribRevision': extraVars.DISTRIB_REVISION,