Skip to content
  • Nikos Skalkotos's avatar
    Fix a bug where img copying truncated the disks · 26d949c8
    Nikos Skalkotos authored
    Add conv=notrunc when copying images to disks. If the disk-template
    is file, using dd to copy the image into the disk would truncate the
    disk.
    
    This bug was introduced in version 0.20 where support for disk URIs
    was added. Prior to that, all file disks were always losetup-ed.
    26d949c8