]> git.proxmox.com Git - qemu-server.git/commit
Add ImportDisk module to import external disk images into a VM
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 1 Jun 2017 08:26:38 +0000 (10:26 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 1 Jun 2017 09:05:35 +0000 (11:05 +0200)
commitb94e047acb126a3a2251c408c9dfea8526bc3aae
treeb1d314940b3d33921c6135c37853f4de5f61c999
parent44549149af62c5272aa3d1ee7c90d823e1fd411f
Add ImportDisk module to import external disk images into a VM

Each disk passed as paramater is add as 'unused[n]' in the vm.conf
(the default) or ide[n]|scsi[n]|sata[n]
We rely on qemu-img(1) convert heuristics to detect the file type,
as this works in most case.
PVE/QemuServer/ImportDisk.pm [new file with mode: 0755]
PVE/QemuServer/Makefile