Change texts to reflect baremetal deployment 25/1925/1
authorYolanda Robla <yroblamo@redhat.com>
Wed, 6 Nov 2019 09:18:19 +0000 (10:18 +0100)
committerYolanda Robla <yroblamo@redhat.com>
Wed, 6 Nov 2019 09:20:19 +0000 (10:20 +0100)
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 <yroblamo@redhat.com>
Change-Id: I925ce5c2a5af4ba77440f8fc841d88fe906105da

pkg/manifests/manifests.go

index f5fe0f0..1a5dc02 100644 (file)
@@ -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 <site_name>, ./knictl deploy_workers <site_name>. You could destroy the cluster with: ./knictl destroy_cluster <site_name>\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()