Proxmox VE Clone

Proxmox VE Clone

Certified

Clone an LXC container on Proxmox VE

Clones an existing LXC container to a new VMID via POST /nodes/{node}/lxc/{vmid}/clone.

yaml
type: io.kestra.plugin.proxmox.container.Clone

Clone a container

yaml
id: clone_container
namespace: company.team

tasks:
  - id: clone
    type: io.kestra.plugin.proxmox.container.Clone
    host: "{{ secret('PROXMOX_HOST') }}"
    username: "{{ secret('PROXMOX_USERNAME') }}"
    password: "{{ secret('PROXMOX_PASSWORD') }}"
    node: pve
    vmName: "300"
    newId: 301
    newName: cloned-container
Properties

Proxmox host

Hostname or IP address of the Proxmox VE node (no scheme, no port).

New container ID

Integer VMID to assign to the clone. Must be unique in the cluster.

Proxmox node name

Name of the cluster node that scopes all API calls (e.g. pve, node1).

Source container name or ID

Container name (resolved at runtime) or integer VMID.

New container hostname

Password

Password for ticket-based authentication.

Reference (ref) of the pluginDefaults to apply to this task.

Default8006

API port

Defaults to 8006.

API token ID

Full token identifier in the form user@realm!tokenname (e.g. root@pam!mytoken). Use together with tokenSecret.

API token secret

The UUID secret associated with the token ID.

Username

PAM or PVE user in the form user@realm (e.g. root@pam). Required when using ticket-based auth.

Defaulttrue

Verify SSL

Validate the server TLS certificate. Defaults to true; set to false only for trusted networks with self-signed Proxmox certificates.