aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/machine/start.go
diff options
context:
space:
mode:
authorJason T. Greene <jason.greene@redhat.com>2022-03-15 15:35:52 -0500
committerJason T. Greene <jason.greene@redhat.com>2022-03-18 17:36:37 -0500
commit6878376c42125a783333d4c587c7183f27efed19 (patch)
tree35c33b726c63b4f204f345f6c6a3d810876d914e /cmd/podman/machine/start.go
parent29e5559cbeec61951306c045c0f85763eba5f059 (diff)
downloadpodman-6878376c42125a783333d4c587c7183f27efed19.tar.gz
podman-6878376c42125a783333d4c587c7183f27efed19.tar.bz2
podman-6878376c42125a783333d4c587c7183f27efed19.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/podman/machine/start.go')
-rw-r--r--cmd/podman/machine/start.go4
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