diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-21 14:36:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 14:36:55 +0200 |
commit | 54920601ae69ca9b22bda75882425b88cd99efea (patch) | |
tree | eeb534900d899aa86daeabdc5ac1ee6d4128b730 /pkg/adapter/client_windows.go | |
parent | c3b75b232800d2d9bee2e1975cd6e0d35509791c (diff) | |
parent | 484b4a7c4b26a9dcccee3c79ef912b721f638747 (diff) | |
download | podman-54920601ae69ca9b22bda75882425b88cd99efea.tar.gz podman-54920601ae69ca9b22bda75882425b88cd99efea.tar.bz2 podman-54920601ae69ca9b22bda75882425b88cd99efea.zip |
Merge pull request #3386 from baude/windowsbridge
add windows bridge format
Diffstat (limited to 'pkg/adapter/client_windows.go')
-rw-r--r-- | pkg/adapter/client_windows.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/adapter/client_windows.go b/pkg/adapter/client_windows.go index 088550667..31e5d9830 100644 --- a/pkg/adapter/client_windows.go +++ b/pkg/adapter/client_windows.go @@ -3,13 +3,13 @@ package adapter import ( + "fmt" + "github.com/containers/libpod/cmd/podman/remoteclientconfig" - "github.com/containers/libpod/libpod" ) -func newBridgeConnection(formattedBridge string, remoteConn *remoteclientconfig.RemoteConnection, logLevel string) (*Endpoint, error) { - // TODO - // Unix and Windows appear to quote their ssh implementations differently therefore once we figure out what - // windows ssh is doing here, we can then get the format correct. - return nil, libpod.ErrNotImplemented +func formatDefaultBridge(remoteConn *remoteclientconfig.RemoteConnection, logLevel string) string { + return fmt.Sprintf( + `ssh -T %s@%s -- /usr/bin/varlink -A '/usr/bin/podman --log-level=%s varlink $VARLINK_ADDRESS' bridge`, + remoteConn.Username, remoteConn.Destination, logLevel) } |