summaryrefslogtreecommitdiff
path: root/cmd/podman/main_remote.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-08 21:12:19 +0200
committerGitHub <noreply@github.com>2019-05-08 21:12:19 +0200
commit49e09ddbf5a17eab025f661d4f57e5868181d57a (patch)
treef3fde54b86541bb67d5c3ef5d3ba4dba0c831676 /cmd/podman/main_remote.go
parent7b54ebb48fecb4205304586a57a3e6b9b96befa0 (diff)
parent38199f4c28712912ea857bf9938dc8ea3798ca61 (diff)
downloadpodman-49e09ddbf5a17eab025f661d4f57e5868181d57a.tar.gz
podman-49e09ddbf5a17eab025f661d4f57e5868181d57a.tar.bz2
podman-49e09ddbf5a17eab025f661d4f57e5868181d57a.zip
Merge pull request #3042 from baude/bridge
add varlink bridge
Diffstat (limited to 'cmd/podman/main_remote.go')
-rw-r--r--cmd/podman/main_remote.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/podman/main_remote.go b/cmd/podman/main_remote.go
index 753730b56..c8bb3ad3e 100644
--- a/cmd/podman/main_remote.go
+++ b/cmd/podman/main_remote.go
@@ -9,7 +9,11 @@ import (
const remote = true
func init() {
- // remote client specific flags can go here.
+ rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.RemoteUserName, "username", "", "username on the remote host")
+ rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.RemoteHost, "remote-host", "", "remote host")
+ // TODO maybe we allow the altering of this for bridge connections?
+ //rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.VarlinkAddress, "varlink-address", adapter.DefaultAddress, "address of the varlink socket")
+ rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.LogLevel, "log-level", "error", "Log messages above specified level: debug, info, warn, error, fatal or panic")
}
func setSyslog() error {