Clone a guest


Format

MethodPOST
URL

/tasks/create

Request contentGuestCopy Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

GuestCopy Object

Schema

typeStringTask type identifier. In this case, "guest_clone"
guest_idStringIdentifier of the Guest template to be cloned
clone_idStringIdentifier of the new Clone
descriptionStringDescription of the new Clone
pool_idStringPool where the new Clone will get its resources
dst_volume_idStringVolume where the disk images of the new guest will be stored

JSON example

{
    "type": "guest_clone",
    "guest_id": "myTemplate",
    "clone_id": "myNewClone",
    "pool_id": "mainPool",
    "description": "My new clone"
}