From: Yolanda Robla Date: Wed, 6 Nov 2019 09:18:19 +0000 (+0100) Subject: Change texts to reflect baremetal deployment X-Git-Tag: akraino_r2~11 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F1925%2F1;p=kni%2Finstaller.git Change texts to reflect baremetal deployment When using the automated baremetal deploy, masters and workers are deployed using knictl commands, and destroying cluster as well. Modify the texts to reflect it. Signed-off-by: Yolanda Robla Change-Id: I925ce5c2a5af4ba77440f8fc841d88fe906105da --- diff --git a/pkg/manifests/manifests.go b/pkg/manifests/manifests.go index f5fe0f0..1a5dc02 100644 --- a/pkg/manifests/manifests.go +++ b/pkg/manifests/manifests.go @@ -219,8 +219,9 @@ func MergeManifests(content string, siteBuildPath string) string { var builder strings.Builder fmt.Fprintf(&builder, "*** Manifest generation finished. You can run now: %s/requirements/openshift-install create cluster --dir=%s/final_manifests to create the site cluster ***\n", siteBuildPath, siteBuildPath) - fmt.Fprintf(&builder, "If using UPI you can generate ignition files with: %s/requirements/openshift-install create ignition-configs --dir=%s/final_manifests", siteBuildPath, siteBuildPath) - fmt.Fprintf(&builder, "A profile.env file has been generated inside %s/profile.env, you can source it before starting the openshift-install command", siteBuildPath) + fmt.Fprintf(&builder, "If using UPI you can generate ignition files with: %s/requirements/openshift-install create ignition-configs --dir=%s/final_manifests\n", siteBuildPath, siteBuildPath) + fmt.Fprintf(&builder, "If you are using baremetal automation you can deploy masters and workers with: ./knictl deploy_masters , ./knictl deploy_workers . You could destroy the cluster with: ./knictl destroy_cluster \n") + fmt.Fprintf(&builder, "A profile.env file has been generated inside %s/profile.env, you can source it before starting the openshift-install command\n", siteBuildPath) fmt.Fprintf(&builder, "In order to destroy the cluster you can run: %s/requirements/openshift-install destroy cluster --dir %s/final_manifests", siteBuildPath, siteBuildPath) return builder.String()