diff options
author | Anders F Björklund <anders.f.bjorklund@gmail.com> | 2019-10-01 19:39:50 +0200 |
---|---|---|
committer | Anders F Björklund <anders.f.bjorklund@gmail.com> | 2019-10-01 19:46:54 +0200 |
commit | db694f13ba515d04d6f5a42e85472ed8e66f7220 (patch) | |
tree | 9ed2271a3935e900c114ae14aaa56051a42c679a /pkg | |
parent | 32b2856e7a6d5a5e6c51b58a223be00828258981 (diff) | |
download | podman-db694f13ba515d04d6f5a42e85472ed8e66f7220.tar.gz podman-db694f13ba515d04d6f5a42e85472ed8e66f7220.tar.bz2 podman-db694f13ba515d04d6f5a42e85472ed8e66f7220.zip |
Avoid hard-coding path to varlink and podman
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/adapter/client_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/client_unix.go b/pkg/adapter/client_unix.go index 2bf71295f..7af8b24c6 100644 --- a/pkg/adapter/client_unix.go +++ b/pkg/adapter/client_unix.go @@ -22,6 +22,6 @@ func formatDefaultBridge(remoteConn *remoteclientconfig.RemoteConnection, logLev options += " -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" } return fmt.Sprintf( - `ssh -p %d -T%s %s@%s -- /usr/bin/varlink -A \'/usr/bin/podman --log-level=%s varlink \\\$VARLINK_ADDRESS\' bridge`, + `ssh -p %d -T%s %s@%s -- varlink -A \'podman --log-level=%s varlink \\\$VARLINK_ADDRESS\' bridge`, port, options, remoteConn.Username, remoteConn.Destination, logLevel) } |