Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cmd/openshift-install/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,15 @@ func destroyBootstrap(ctx context.Context, directory string) (err error) {
return destroybootstrap.Destroy(rootOpts.dir)
}

// logComplete prints info upon completion
// logComplete prints info and suggestions to manage installed cluster
func logComplete(directory string) error {
absDir, err := filepath.Abs(directory)
if err != nil {
return err
}
kubeconfig := filepath.Join(absDir, "auth", "kubeconfig")
logrus.Infof("Install complete! Run 'export KUBECONFIG=%s' to manage your cluster.", kubeconfig)
logrus.Info("After exporting your kubeconfig, run 'oc -h' for a list of OpenShift client commands.")
logrus.Infof("Install complete! Run 'export KUBECONFIG=%s' to manage the cluster.", kubeconfig)
logrus.Info("Wait for workers to become ready. Run 'oc get nodes -w' to watch for workers coming up.")
logrus.Info("Run 'oc -h' for a list of OpenShift client commands.")
return nil
}