support creating raw disk image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
New
|
Undecided
|
Unassigned | ||
vm-builder (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
vmbuilder spits out qcow2 images by default. Generally, that's fine and dandy. However, it would be nice to have it create raw images instead.
As a quick hack, I was able to do this by changing:
--- vm-builder-
+++ vm-builder-
@@ -26,7 +26,7 @@
class KVM(Hypervisor):
name = 'KVM'
arg = 'kvm'
- filetype = 'qcow2'
+ filetype = 'raw'
preferred_
needs_
Clearly this isn't correct, but it would be nice if that filetype parameter was an option, and allow the user to input 'raw' the desired file type.
Alternatively, if just qcow2 and raw are the only supported types, it would just be a matter of skipping the:
step in that same file.
Thanks.
Adding VMBuilder project task so soren looks at this.