Add a comment about ignition and UPI 03/1303/1
authorYolanda Robla <yroblamo@redhat.com>
Thu, 1 Aug 2019 08:22:24 +0000 (10:22 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Thu, 1 Aug 2019 08:22:24 +0000 (10:22 +0200)
When manifests are generated, there is a comment
explaining on how to create the cluster. Add also the
comment for using UPI and ignition files.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I6fcd3850894c4939926935aee255fca06da50124

pkg/manifests/manifests.go

index ea8434b..90ef926 100644 (file)
@@ -217,6 +217,7 @@ func MergeManifests(content string, siteBuildPath string) {
                os.Exit(1)
        } else {
                log.Println(fmt.Sprintf("*** Manifest generation finished. You can run now: %s/requirements/openshift-install create cluster --dir=%s/final_manifests to create the site cluster ***", siteBuildPath, siteBuildPath))
+               log.Println(fmt.Sprintf("If using UPI you can generate ignition files with: %s/requirements/openshift-install create ignition-configs --dir=%s/final_manifests", siteBuildPath, siteBuildPath))
                log.Println(fmt.Sprintf("A profile.env file has been generated inside %s/profile.env, you can source it before starting the openshift-install command", siteBuildPath))
                log.Println(fmt.Sprintf("In order to destroy the cluster you can run:  %s/requirements/openshift-install destroy cluster --dir %s/final_manifests", siteBuildPath, siteBuildPath))
        }