mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-14 04:39:33 +00:00
The podman module paths are moving from github.com/containers/podman to go.podman.io/podman. This will help with future mobility. Signed-off-by: Brent Baude <bbaude@redhat.com>
24 lines
576 B
Go
24 lines
576 B
Go
//go:build amd64 || arm64
|
|
|
|
package machine
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
"go.podman.io/podman/v6/cmd/podman/registry"
|
|
"go.podman.io/podman/v6/cmd/podman/validate"
|
|
)
|
|
|
|
var OSCmd = &cobra.Command{
|
|
Use: "os",
|
|
Short: "Manage a Podman virtual machine's OS",
|
|
Long: "Manage a Podman virtual machine's operating system",
|
|
PersistentPreRunE: validate.NoOp,
|
|
RunE: validate.SubCommandExists,
|
|
}
|
|
|
|
func init() {
|
|
registry.Commands = append(registry.Commands, registry.CliCommand{
|
|
Command: OSCmd,
|
|
Parent: machineCmd,
|
|
})
|
|
}
|