587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
diff --git a/pkg/machine/machine_common.go b/pkg/machine/machine_common.go
|
|
index 1afc3d15b..a8aafcaae 100644
|
|
--- a/pkg/machine/machine_common.go
|
|
+++ b/pkg/machine/machine_common.go
|
|
@@ -33,13 +33,8 @@ func GetDevNullFiles() (*os.File, *os.File, error) {
|
|
// WaitAPIAndPrintInfo prints info about the machine and does a ping test on the
|
|
// API socket
|
|
func WaitAPIAndPrintInfo(forwardState APIForwardingState, name, helper, forwardSock string, noInfo, rootful bool) {
|
|
- suffix := ""
|
|
var fmtString string
|
|
|
|
- if name != DefaultMachineName {
|
|
- suffix = " " + name
|
|
- }
|
|
-
|
|
if forwardState == NoForwarding {
|
|
return
|
|
}
|
|
@@ -61,14 +56,6 @@ address can't be used by podman. `
|
|
|
|
if len(helper) < 1 {
|
|
fmt.Print(fmtString)
|
|
- } else {
|
|
- fmtString += `If you would like to install it, run the following commands:
|
|
-
|
|
- sudo %s install
|
|
- podman machine stop%[2]s; podman machine start%[2]s
|
|
-
|
|
-`
|
|
- fmt.Printf(fmtString, helper, suffix)
|
|
}
|
|
case MachineLocal:
|
|
fmt.Printf("\nAnother process was listening on the default Docker API socket address.\n")
|