From 2298c931e76481d7d99daf9f9ce130a095003dc2 Mon Sep 17 00:00:00 2001 From: Alessandro Pilotti Date: Mon, 10 Jul 2017 05:18:52 +0300 Subject: [PATCH] Add message before waiting for the VM IP address Retrieving the IP address depends on guest/host communication channels (e.g. KVP on Hyper-V) that might fail. This commit adds a message that can help the user in troubleshooting potential issues. --- cmd/minikube/cmd/start.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index d553ee0ba039..deb8745fbef6 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -136,9 +136,10 @@ func runStart(cmd *cobra.Command, args []string) { cmdUtil.MaybeReportErrorAndExit(err) } + fmt.Println("Getting VM IP address...") ip, err := host.Driver.GetIP() if err != nil { - glog.Errorln("Error starting host: ", err) + glog.Errorln("Error getting VM IP address: ", err) cmdUtil.MaybeReportErrorAndExit(err) } kubernetesConfig := cluster.KubernetesConfig{