summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch')
-rw-r--r--pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch20
1 files changed, 17 insertions, 3 deletions
diff --git a/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch b/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch
index 179ce41f02b2..4cc253c4c68f 100644
--- a/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch
+++ b/pkgs/applications/virtualization/podman/rm-podman-mac-helper-msg.patch
@@ -1,8 +1,22 @@
diff --git a/pkg/machine/machine_common.go b/pkg/machine/machine_common.go
-index 4e43dd54c..a981d93bf 100644
+index 1afc3d15b..a8aafcaae 100644
--- a/pkg/machine/machine_common.go
+++ b/pkg/machine/machine_common.go
-@@ -127,14 +127,6 @@ address can't be used by podman. `
+@@ -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)
@@ -12,7 +26,7 @@ index 4e43dd54c..a981d93bf 100644
- sudo %s install
- podman machine stop%[2]s; podman machine start%[2]s
-
-- `
+-`
- fmt.Printf(fmtString, helper, suffix)
}
case MachineLocal: