summaryrefslogtreecommitdiff
path: root/pkg/adapter/client_windows.go
blob: 31e5d98306af55989935fee1e19b6b97e0a39b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +build remoteclient

package adapter

import (
	"fmt"

	"github.com/containers/libpod/cmd/podman/remoteclientconfig"
)

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)
}