From 3c968c3d22e01724bd9b1651b32ce23a235f3f4d Mon Sep 17 00:00:00 2001 From: "Jason T. Greene" Date: Tue, 15 Mar 2022 15:35:52 -0500 Subject: Handle incompatible machines Start in a reduced mode for recovery, warn, and provide instructions to recreate them Signed-off-by: Jason T. Greene --- cmd/podman/machine/start.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/podman/machine') diff --git a/cmd/podman/machine/start.go b/cmd/podman/machine/start.go index 16faa25ef..56acb09cb 100644 --- a/cmd/podman/machine/start.go +++ b/cmd/podman/machine/start.go @@ -57,10 +57,6 @@ func start(cmd *cobra.Command, args []string) error { } return errors.Wrapf(machine.ErrMultipleActiveVM, "cannot start VM %s. VM %s is currently running", vmName, activeName) } - vm, err = provider.LoadVMByName(vmName) - if err != nil { - return err - } fmt.Printf("Starting machine %q\n", vmName) if err := vm.Start(vmName, machine.StartOptions{}); err != nil { return err -- cgit v1.2.3-54-g00ecf