summaryrefslogtreecommitdiff
path: root/cmd/podman/system/service.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-05-08 11:09:48 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-05-08 11:09:48 -0400
commit69f62a1a9c09818f888247fec96344cae6e4b6ff (patch)
tree265c2eb6ddcb5dfe1240889a19bc8338566f2f27 /cmd/podman/system/service.go
parentae9892e23e378a6bd96884d09b886757c425ac58 (diff)
downloadpodman-69f62a1a9c09818f888247fec96344cae6e4b6ff.tar.gz
podman-69f62a1a9c09818f888247fec96344cae6e4b6ff.tar.bz2
podman-69f62a1a9c09818f888247fec96344cae6e4b6ff.zip
default to tunnel without ABISupport tag
When compiling a Linux binary without ABISupport, default to use the tunnel. The behaviour is expected in `podman-remote`. Also set a default for the remote flag so `podman-remote` works OOB. Signed-off-by: Valentin Rothberg <rothberg@redhat.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/system/service.go')
-rw-r--r--cmd/podman/system/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/system/service.go b/cmd/podman/system/service.go
index f4b91dd78..552c72f79 100644
--- a/cmd/podman/system/service.go
+++ b/cmd/podman/system/service.go
@@ -139,6 +139,6 @@ func resolveApiURI(_url []string) (string, error) {
case srvArgs.Varlink:
return registry.DefaultVarlinkAddress, nil
default:
- return registry.DefaultAPIAddress, nil
+ return registry.DefaultRootAPIAddress, nil
}
}