From 60a25b19677c081721345bb82f7445ec27148f23 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Tue, 7 Mar 2023 20:20:19 +0000 Subject: [PATCH] fix: remove create first user from the cli message This adjusts our setup to just show the Web UI, since you can now create everything from there! --- cli/server.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/cli/server.go b/cli/server.go index c46938e71d2e1..ac74f67043b4f 100644 --- a/cli/server.go +++ b/cli/server.go @@ -837,14 +837,6 @@ func Server(vip *viper.Viper, newAPI func(context.Context, *coderd.Options) (*co } }() - hasFirstUser, err := client.HasFirstUser(ctx) - if err != nil { - cmd.Println("\nFailed to check for the first user: " + err.Error()) - } else if !hasFirstUser { - cmd.Println("\nGet started by creating the first user (in a new terminal):") - cmd.Println(cliui.Styles.Code.Render("coder login " + accessURLParsed.String())) - } - cmd.Println("\n==> Logs will stream in below (press ctrl+c to gracefully exit):") // Updates the systemd status from activating to activated. @@ -1159,7 +1151,7 @@ func printLogo(cmd *cobra.Command) { return } - _, _ = fmt.Fprintf(cmd.OutOrStdout(), "%s - Software development on your infrastucture\n", cliui.Styles.Bold.Render("Coder "+buildinfo.Version())) + _, _ = fmt.Fprintf(cmd.OutOrStdout(), "%s - Your Self-Hosted Remote Development Platform\n", cliui.Styles.Bold.Render("Coder "+buildinfo.Version())) } func loadCertificates(tlsCertFiles, tlsKeyFiles []string) ([]tls.Certificate, error) {