diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-11 06:57:59 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-11 08:52:27 -0500 |
commit | 6d5ad9c11049b7dfaebe8eb223d6532475deb57e (patch) | |
tree | 3c0e1697919cdacccc091f3e2eb85c763e721b4b /cmd/podman | |
parent | ed9ef59e7ea439b670875863132b68fd094501c7 (diff) | |
download | podman-6d5ad9c11049b7dfaebe8eb223d6532475deb57e.tar.gz podman-6d5ad9c11049b7dfaebe8eb223d6532475deb57e.tar.bz2 podman-6d5ad9c11049b7dfaebe8eb223d6532475deb57e.zip |
It takes some time to start a VM
We are seeing some issues with users not understanding which VM they are
starting, and if the VM takes a long time to start, they do not know
where to look.
Moving the name to before the VM starts at least allows them to realize
they are starting the wrong VM.
[NO NEW TESTS NEEDED]
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/machine/start.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/machine/start.go b/cmd/podman/machine/start.go index 9c9c24f64..a3770d61a 100644 --- a/cmd/podman/machine/start.go +++ b/cmd/podman/machine/start.go @@ -60,9 +60,9 @@ func start(cmd *cobra.Command, args []string) error { if err != nil { return err } + fmt.Printf("Starting machine %q\n", vmName) if err := vm.Start(vmName, machine.StartOptions{}); err != nil { return err } - fmt.Printf("Machine %q started successfully\n", vmName) return nil } |