diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-06-29 19:32:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 19:32:26 +0000 |
commit | d6cdb996bce10eb050e41b2050aaf52d9bfd3bd0 (patch) | |
tree | 1d1f7c41596c1af686f51a8bca4711f43197ad89 /cmd/podman/machine/start.go | |
parent | 35aa994d124675a039c89f65fb4b1c684b79b89e (diff) | |
parent | d9ff0fd15da268fae9744a60522ecdf94744b74a (diff) | |
download | podman-d6cdb996bce10eb050e41b2050aaf52d9bfd3bd0.tar.gz podman-d6cdb996bce10eb050e41b2050aaf52d9bfd3bd0.tar.bz2 podman-d6cdb996bce10eb050e41b2050aaf52d9bfd3bd0.zip |
Merge pull request #14706 from ashley-cui/rootmach
Only allow Rootless runs of Podman Machine
Diffstat (limited to 'cmd/podman/machine/start.go')
-rw-r--r-- | cmd/podman/machine/start.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/machine/start.go b/cmd/podman/machine/start.go index 3bd7f4a25..e645bba87 100644 --- a/cmd/podman/machine/start.go +++ b/cmd/podman/machine/start.go @@ -18,6 +18,7 @@ var ( Use: "start [MACHINE]", Short: "Start an existing machine", Long: "Start a managed virtual machine ", + PersistentPreRunE: rootlessOnly, RunE: start, Args: cobra.MaximumNArgs(1), Example: `podman machine start myvm`, |