aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/machine/start.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/machine/start.go')
-rw-r--r--cmd/podman/machine/start.go1
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`,