From aac8573f454109c98fa2af1e5ed05c1d1b19829b Mon Sep 17 00:00:00 2001
From: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
Date: Thu, 25 Feb 2016 14:51:15 +0100
Subject: Changing raw to qcow2 for vFuel/Controller/Compute

A lot of diskspace is allocated although never used
this commit changes to thin provisioning
for the virtual enviroment.

Change-Id: Ia128143a3bae9f3d85a9e749319c2f5343c1df4e
---
 deploy/templates/virtual_environment_noha/vms/compute.xml    | 2 +-
 deploy/templates/virtual_environment_noha/vms/controller.xml | 2 +-
 deploy/templates/virtual_environment_noha/vms/fuel.xml       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'deploy/templates/virtual_environment_noha')

diff --git a/deploy/templates/virtual_environment_noha/vms/compute.xml b/deploy/templates/virtual_environment_noha/vms/compute.xml
index fa4ef5d8d..f794b651a 100644
--- a/deploy/templates/virtual_environment_noha/vms/compute.xml
+++ b/deploy/templates/virtual_environment_noha/vms/compute.xml
@@ -21,7 +21,7 @@
   <devices>
     <emulator>/usr/bin/kvm</emulator>
     <disk type='file' device='disk'>
-      <driver name='qemu' type='raw'/>
+      <driver name='qemu' type='qcow2'/>
       <source file='disk.raw'/>
       <target dev='vda' bus='virtio'/>
     </disk>
diff --git a/deploy/templates/virtual_environment_noha/vms/controller.xml b/deploy/templates/virtual_environment_noha/vms/controller.xml
index 50950db17..44dd5b655 100644
--- a/deploy/templates/virtual_environment_noha/vms/controller.xml
+++ b/deploy/templates/virtual_environment_noha/vms/controller.xml
@@ -21,7 +21,7 @@
   <devices>
     <emulator>/usr/bin/kvm</emulator>
     <disk type='file' device='disk'>
-      <driver name='qemu' type='raw'/>
+      <driver name='qemu' type='qcow2'/>
       <source file='disk.raw'/>
       <target dev='vda' bus='virtio'/>
     </disk>
diff --git a/deploy/templates/virtual_environment_noha/vms/fuel.xml b/deploy/templates/virtual_environment_noha/vms/fuel.xml
index 2d2596310..3e7576945 100644
--- a/deploy/templates/virtual_environment_noha/vms/fuel.xml
+++ b/deploy/templates/virtual_environment_noha/vms/fuel.xml
@@ -24,7 +24,7 @@
   <devices>
     <emulator>/usr/bin/kvm</emulator>
     <disk type='block' device='cdrom'>
-      <driver name='qemu' type='raw'/>
+      <driver name='qemu' type='qcow2'/>
       <target dev='hdc' bus='ide'/>
       <readonly/>
     </disk>
-- 
cgit 1.2.3-korg