diff options
author | Jason T. Greene <jason.greene@redhat.com> | 2022-03-15 15:35:52 -0500 |
---|---|---|
committer | Jason T. Greene <jason.greene@redhat.com> | 2022-03-18 01:16:34 -0500 |
commit | 3c968c3d22e01724bd9b1651b32ce23a235f3f4d (patch) | |
tree | 57a519ddd3a15621e84b2ec9211ccc3e0ec53737 /cmd | |
parent | e59f71d230cf5435dc569add90e22cc644e38647 (diff) | |
download | podman-3c968c3d22e01724bd9b1651b32ce23a235f3f4d.tar.gz podman-3c968c3d22e01724bd9b1651b32ce23a235f3f4d.tar.bz2 podman-3c968c3d22e01724bd9b1651b32ce23a235f3f4d.zip |
Handle incompatible machines
Start in a reduced mode for recovery, warn, and provide instructions to recreate them
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/machine/start.go | 4 |
1 files changed, 0 insertions, 4 deletions
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 |