mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
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>
This commit is contained in:
@ -60,9 +60,9 @@ func start(cmd *cobra.Command, args []string) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
fmt.Printf("Starting machine %q\n", vmName)
|
||||||
if err := vm.Start(vmName, machine.StartOptions{}); err != nil {
|
if err := vm.Start(vmName, machine.StartOptions{}); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fmt.Printf("Machine %q started successfully\n", vmName)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user