summaryrefslogtreecommitdiff
path: root/cmd/podman/system/reset_machine.go
blob: a07b4fb8301df3c264599f2b8dc6762f0be31a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build (amd64 && !remote) || (arm64 && !remote)
// +build amd64,!remote arm64,!remote

package system

import (
	cmdMach "github.com/containers/podman/v4/cmd/podman/machine"
)

func resetMachine() error {
	provider := cmdMach.GetSystemDefaultProvider()
	return provider.RemoveAndCleanMachines()
}