Merge pull request #7042 from rhatdan/remote

Enable --remote flag
This commit is contained in:
OpenShift Merge Robot 2020-07-22 23:14:47 +02:00 committed by GitHub
commit 1aac197f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -44,11 +44,12 @@ func newPodmanConfig() {
case "linux":
// Some linux clients might only be compiled without ABI
// support (e.g., podman-remote).
if abiSupport && !remoteOverride {
if abiSupport && !IsRemote() {
mode = entities.ABIMode
} else {
mode = entities.TunnelMode
}
default:
fmt.Fprintf(os.Stderr, "%s is not a supported OS", runtime.GOOS)
os.Exit(1)