Skip to content

Commit 0e3819c

Browse files
authored
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.
1 parent 8a87cc9 commit 0e3819c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: cmd/minikube/cmd/start.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,10 @@ func runStart(cmd *cobra.Command, args []string) {
136136
cmdUtil.MaybeReportErrorAndExit(err)
137137
}
138138

139+
fmt.Println("Getting VM IP address...")
139140
ip, err := host.Driver.GetIP()
140141
if err != nil {
141-
glog.Errorln("Error starting host: ", err)
142+
glog.Errorln("Error getting VM IP address: ", err)
142143
cmdUtil.MaybeReportErrorAndExit(err)
143144
}
144145
kubernetesConfig := cluster.KubernetesConfig{

0 commit comments

Comments
 (0)