From e7661137373b5f87bf6ec45e32326821b172ce7b Mon Sep 17 00:00:00 2001 From: Ashley Cui Date: Mon, 22 Mar 2021 13:23:22 -0400 Subject: Add --execute flag to podman machine ssh --execute, -e allows to execute a command through ssh Signed-off-by: Ashley Cui --- pkg/machine/config.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkg/machine/config.go') 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{} -- cgit v1.2.3-54-g00ecf