Il 10/03/2018 10:28, Thomas Lamprecht ha scritto:
It's in the qemu-server git repository, the importdisk
command is in the qm CLI helper (PVE/CLI/qm.pm) and
uses mostly the PVE::QemuServer::ImportDisk module
(PVE/QemuServer/ImportDisk.pm)

gitweb link to them:
https://git.proxmox.com/?p=qemu-server.git;a=blob;f=PVE/CLI/qm.pm;h=3347612556bc3689abd783540bb9ea2d1cffeaba;hb=HEAD#l418 https://git.proxmox.com/?p=qemu-server.git;a=blob;f=PVE/QemuServer/ImportDisk.pm;h=db7db6343c4c0af67a094b695d0c9e329ff80ab8;hb=HEAD#l1

Thanks

If you want to skip import phase, which is, AFAIK, pretty
much 90% this command does, maybe just write a simple CLI
command your self doing the data import with your scripts
and then just add the disk to the config with and helper of
ours, just as an idea...

It's what I'm trying to do.
As I'm outputting a raw image from XenServer, probably, I can
directly write the raw image to a zfs block volume, right ?
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to