mirror of https://github.com/containers/podman.git
commit
1aac197f79
|
|
@ -44,11 +44,12 @@ func newPodmanConfig() {
|
||||||
case "linux":
|
case "linux":
|
||||||
// Some linux clients might only be compiled without ABI
|
// Some linux clients might only be compiled without ABI
|
||||||
// support (e.g., podman-remote).
|
// support (e.g., podman-remote).
|
||||||
if abiSupport && !remoteOverride {
|
if abiSupport && !IsRemote() {
|
||||||
mode = entities.ABIMode
|
mode = entities.ABIMode
|
||||||
} else {
|
} else {
|
||||||
mode = entities.TunnelMode
|
mode = entities.TunnelMode
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fmt.Fprintf(os.Stderr, "%s is not a supported OS", runtime.GOOS)
|
fmt.Fprintf(os.Stderr, "%s is not a supported OS", runtime.GOOS)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue