[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

build-debian-cloud vagrant provider



Hi,
I have a vagrant provider generating a vmdk flat disk usable by vagrant.
I still face an issue though.
 
I tried to remove VirtualBox dependency, as it is in contrib now, to create the vagrant box.
Vagrant providers in its package a vmdk file and an ovf file. But it seems that VirtualBox needs/wants a StreamOptimized vmdk (vagrant provides vmdk only, no vdi), see below an ovf extract from a VirtualBox generated box:

    <Disk ovf:capacity="1073741824" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" vbox:uuid="90462558-f532-4165-abd5-f7b3bc1788a4"/>
  </DiskSection>

Using flat vmdk fails at VirtualBox import.

The issue is qemu-img fails to convert raw file to vmdk with StreamOptimised option (see [0]).

do you know any way to specify in ovf that we use a flat vmdk? (maybe would be fine for VirtualBox) or to convert a raw vmdk to streamoptimized vmdk without VirtualBox?


[0] http://lists.gnu.org/archive/html/qemu-devel/2011-09/msg03447.html

Thanks

Olivier

--
gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

Reply to: