Skip to content

Feature: Add ability to delete/remove VMs #3

Description

@d3bvstack

Currently, vmctl does not support deleting or removing virtual machines (VMs). Adding this functionality would enhance the tool by allowing users to remove VMs that are no longer needed, freeing up resources and improving workflow management.

Requested Feature:

  • Add a command or API endpoint to delete or remove a VM by name or ID.
  • Ensure safe deletion with confirmation prompts or flags to avoid accidental removal.
  • Update documentation to include usage examples for VM deletion.

Benefits:

  • Provides users with greater control over their VM lifecycle.
  • Improves resource management within vmctl-managed environments.

Acceptance Criteria:

  • Users can successfully delete a VM via the CLI or API.
  • Attempts to delete non-existent or protected VMs return appropriate error messages.
  • Tests cover deletion scenarios including successes and failures.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions