<div dir="ltr">I'd suggest updating tests/test_osinfo.py to check for that value, so we make sure that format is actually the default format.<br></div><br><div class="gmail_quote">On Tue, Apr 14, 2015 at 3:23 AM Rodrigo Trujillo <<a href="mailto:rodrigo.trujillo@linux.vnet.ibm.com">rodrigo.trujillo@linux.vnet.ibm.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Users are allowed to provide disk format when creating a new Template.<br>
However this is optional. This option sets qcow2 as default disk format<br>
for every new Template created.<br>
<br>
Signed-off-by: Rodrigo Trujillo <<a href="mailto:rodrigo.trujillo@linux.vnet.ibm.com" target="_blank">rodrigo.trujillo@linux.vnet.ibm.com</a>><br>
---<br>
src/kimchi/osinfo.py | 3 ++-<br>
1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/kimchi/osinfo.py b/src/kimchi/osinfo.py<br>
index 3c31346..ede2541 100644<br>
--- a/src/kimchi/osinfo.py<br>
+++ b/src/kimchi/osinfo.py<br>
@@ -33,7 +33,8 @@ SUPPORTED_ARCHS = {'x86': ('i386', 'i686', 'x86_64'),<br>
'ppc64le': ('ppc64le')}<br>
<br>
<br>
-common_spec = {'cpus': 1, 'memory': 1024, 'disks': [{'index': 0, 'size': 10}],<br>
+common_spec = {'cpus': 1, 'memory': 1024, 'disks': [{'index': 0, 'size': 10,<br>
+ 'format': 'qcow2'}],<br>
'cdrom_bus': 'ide', 'cdrom_index': 2, 'mouse_bus': 'ps2'}<br>
<br>
<br>
--<br>
2.1.0<br>
<br>
_______________________________________________<br>
Kimchi-devel mailing list<br>
<a href="mailto:Kimchi-devel@ovirt.org" target="_blank">Kimchi-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a><br>
</blockquote></div>