Bug fix ansible scripts 27/52227/3
authorJohn O Loughlin <john.oloughlin@intel.com>
Fri, 16 Feb 2018 11:38:18 +0000 (11:38 +0000)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 5 Mar 2018 17:35:04 +0000 (17:35 +0000)
For 'qemu-img version 2.10.1' unit 'MB' is not acceptable
Changing to 'M'

JIRA: YARDSTICK-1019

Change-Id: Ic9153e9e9c85d949d15b1d15cc8cddfad986b4a3
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
ansible/roles/infra_create_vms/tasks/configure_vm.yml

index 10201cf..5685e63 100644 (file)
 
 - name: Copy and convert the ubuntu image
   shell: >
-    qemu-img resize {{ image_dir+node_item.hostname+'.qcow2' }} {{ node_item.disk }}MB
+    qemu-img resize {{ image_dir+node_item.hostname+'.qcow2' }} {{ node_item.disk }}M
 
 - name: Define the VMs
   virt: