diff --git a/tkg/client/cluster.go b/tkg/client/cluster.go index a0d91d5aab..d588d35f71 100644 --- a/tkg/client/cluster.go +++ b/tkg/client/cluster.go @@ -180,7 +180,7 @@ func (c *TkgClient) CreateCluster(options *CreateClusterOptions, waitForCluster // If `features.cluster.auto-apply-generated-clusterclass-based-configuration` feature-flag is not activated // log command to use to create cluster using ClusterClass based config file and return if !c.IsFeatureActivated(constants.FeatureFlagAutoApplyGeneratedClusterClassBasedConfiguration) { - log.Warningf("\nTo create a cluster with it, use") + log.Warningf("\nTo create a cluster with it, please use the following command together with all customized flags set in the last step. e.g. --tkr, -v") log.Warningf(" tanzu cluster create --file %v", configFilePath) return false, nil } diff --git a/tkg/client/cluster_test.go b/tkg/client/cluster_test.go index 650eaac8f6..6a720ab2ee 100644 --- a/tkg/client/cluster_test.go +++ b/tkg/client/cluster_test.go @@ -403,7 +403,7 @@ ova: [] result := captureOutput(*tkgClient, options, false) Expect(result).To(ContainSubstring("Legacy configuration file detected. The inputs from said file have been converted into the new Cluster configuration")) - Expect(result).To(ContainSubstring("To create a cluster with it, use")) + Expect(result).To(ContainSubstring("To create a cluster with it, please use the following command together with all customized flags set in the last step. e.g. --tkr, -v")) }) })