/
Change media

Change media

Format

MethodPOST
URL

/tasks/create

Request contentGuestDelete Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

Changes the iso images mounted in a running guest.

GuestChangeISO Object

Schema

repeatStringReserved
retriesStringNumber of times this task will be retried, in case of error
typeStringTask type identifier. In this case, "guest_change_iso"
guest_idStringUnique identifier of the Guest
iso_listArray of ISOInfoArray of associated ISO images. See details in Create a Guest
save_changebooleanPersist the change for the next boot

JSON example

{
    "repeat""0",

"type":"guest_change_iso",

    "guest_id":"1234",
"iso_list":[
{"media_storage_id":"ms-empty","filename":"ms-empty","devnum":"1","bus":"ide"},

{"media_storage_id":"ms-empty","filename":"ms-empty","devnum":"2","bus":"ide"},

{"media_storage_id":"ms-empty","filename":"ms-empty","devnum":"3","bus":"ide"}

],
"save_change":"true"}

    "retries""0",
}

Related content

Modify Guest attributes
Modify Guest attributes
More like this
Modify Guest attributes
Modify Guest attributes
More like this
Copy Guest
More like this
Create a Guest
More like this
Clone a guest
More like this
Modify Guest attributes
Modify Guest attributes
More like this