diff options
author | Ashley Cui <acui@redhat.com> | 2021-03-22 13:23:22 -0400 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2021-03-25 08:46:43 -0500 |
commit | e7661137373b5f87bf6ec45e32326821b172ce7b (patch) | |
tree | 34910aceb3e4188f4e66a128eba502e12e659308 /pkg/machine/config.go | |
parent | b5f54a9b23e8d9418700494da9aa78d8db354c43 (diff) | |
download | podman-e7661137373b5f87bf6ec45e32326821b172ce7b.tar.gz podman-e7661137373b5f87bf6ec45e32326821b172ce7b.tar.bz2 podman-e7661137373b5f87bf6ec45e32326821b172ce7b.zip |
Add --execute flag to podman machine ssh
--execute, -e allows to execute a command through ssh
Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'pkg/machine/config.go')
-rw-r--r-- | pkg/machine/config.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/machine/config.go b/pkg/machine/config.go index 5e90dae51..2a70b8ff7 100644 --- a/pkg/machine/config.go +++ b/pkg/machine/config.go @@ -42,7 +42,10 @@ type Download struct { VMName string } -type SSHOptions struct{} +type SSHOptions struct { + Execute bool + Args []string +} type StartOptions struct{} type StopOptions struct{} |