vm-clone

Clone virtual machines in OpenShift Virtualization with copied configuration and optional storage.

48|31|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/RHEcosystemAppEng/agentic-plugins --skill vm-clone
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vm-clone
Source: https://github.com/RHEcosystemAppEng/agentic-plugins/tree/main/rh-virt/skills/vm-clone
Command: npx skills add https://github.com/RHEcosystemAppEng/agentic-plugins --skill vm-clone

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openshift-virtualization, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the cloning of virtual machines in OpenShift Virtualization, streamlining the process of creating copies for testing, scaling, or template creation.

Core Features & Use Cases

  • VM Cloning: Clone existing VM configurations and optionally create new storage or reference existing storage.
  • Use Case: Ideal for creating test environments, scaling workloads, or duplicating VM templates in OpenShift Virtualization.

Quick Start

Clone VM 'source-vm-name' to 'target-vm-name' in namespace 'target-namespace'.

Frequently Asked Questions about vm-clone

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clone a virtual machine in OpenShift Virtualization?

To clone a virtual machine in OpenShift Virtualization, you can automate the process by copying the existing VM configuration and optionally creating new storage. This streamlines duplicating VMs for testing or scaling workloads.

Does VM cloning in OpenShift require specific cluster setup?

Yes, VM cloning requires the OpenShift Virtualization operator installed and specific MCP tools configured. You must also ensure your cluster setup handles storage strategies and passes resource quota checks before cloning.

Can I clone an OpenShift VM configuration without copying its storage?

Yes, OpenShift VM cloning supports optional storage strategies. You can either create completely new storage for the target VM or configure it to reference the existing storage of the source VM.

Why does OpenShift VM cloning fail with resource quota errors?

OpenShift VM cloning fails with resource quota errors when the target namespace lacks sufficient resources. The process explicitly checks resource quotas and requires user confirmation before proceeding with storage cloning.

What is the best way to duplicate VM templates in OpenShift?

The best way to duplicate VM templates in OpenShift is using automated VM cloning. It copies the virtual machine configuration and handles storage strategies, streamlining template creation and workload scaling.