A abourges New Member Dec 20, 2024 10 0 1 Wednesday at 06:06 #1 Hi, ...I was researching the possibility to find an API equivalent for: Code: qm disk import <vmid> <img>.qcow2 <my_ceph_pool> Apparently this is currently not possible using the API - or did I miss something? thanks, Andreas
Hi, ...I was researching the possibility to find an API equivalent for: Code: qm disk import <vmid> <img>.qcow2 <my_ceph_pool> Apparently this is currently not possible using the API - or did I miss something? thanks, Andreas
fabian Proxmox Staff Member Staff member Jan 7, 2016 12,097 3,286 303 Wednesday at 08:52 #2 you can use qm set/create XXXX --scsi0 STORAGE:0,import-from=SOURCE_VOLID,... which is also available on the API using the create_vm and update_vm API endpoints see https://pve.proxmox.com/pve-docs/pv...g_an_external_disk_image_to_a_virtual_machine for a full example
you can use qm set/create XXXX --scsi0 STORAGE:0,import-from=SOURCE_VOLID,... which is also available on the API using the create_vm and update_vm API endpoints see https://pve.proxmox.com/pve-docs/pv...g_an_external_disk_image_to_a_virtual_machine for a full example
A abourges New Member Dec 20, 2024 10 0 1 Wednesday at 14:01 #3 alright - thanks for the fast response! will give it a try! Best regards, Andreas